...overview of the extension...
由于旧版本封装到很多人不会用,因此我重新封装最新版本的UEditor1.2.5.0 欢迎大家下载使用
最新版本 UEditor1.2.5.0 ¶
Requirements ¶
...requirements of using this extension (e.g. Yii 1.1 or above)...
Usage ¶
...how to use this extension...
把ueditor插件放到 extensions/
在Html 调用
ueditor1.2.2.0 ¶
<?php
$this->widget('ext.ueditor.Ueditor',
array(
'getId'=>'Post_content',
'UEDITOR_HOME_URL'=>"/",
'options'=>'toolbars:[["fontfamily","fontsize","forecolor","bold","italic","strikethrough","|",
"insertunorderedlist","insertorderedlist","blockquote","|",
"link","unlink","highlightcode","|","undo","redo","source"]],
wordCount:false,
elementPathEnabled:false,
imagePath:"/attachment/ueditor/",
',
));
?>
options ¶
options里面的代码直接按百度原来一样(包括所有的参数)。如上
ueditor1.1.7 ¶
<?php
$this->widget('ext.ueditor.Ueditor',
array(
'getId'=>'Article_content',
'textarea'=>"Article[content]",
'imagePath'=>'/attachment/ueditor/',
'UEDITOR_HOME_URL'=>'/',
));
?>
订制Toolbars 方法
<?php
$this->widget('ext.ueditor.Ueditor',
array(
'getId'=>'Settings_about',
'minFrameHeight'=>180,
'textarea'=>"Article[content]",
'imagePath'=>'/attachment/ueditor/',
'UEDITOR_HOME_URL'=>'/',
'toolbars'=>"'Undo','Redo','ForeColor','BackColor', 'Bold','Italic','Underline','JustifyLeft','JustifyCenter','JustifyRight','InsertImage','ImageNone','ImageLeft','ImageRight','ImageCenter',",
));
?>
下载地址在GOOGLE
http://code.google.com/p/ueditor-for-yii/downloads/detail?name=ueditor-for-yii-1.1.7.2.zip&can=2&q=
I want to vote up, but..
I really want to be able to vote this up, but I don't read Chinese.
That's definitely the reason why you've got two thumbs up and three thumbs down.
Please consider a translation.
Please consider a translation.
因为我发布 extension 时,还没有上传附件(因为我附件大过2M,所以有一些时间没有上传)。没有下载链接,朋友们就给了差评。其实这个 extension 真的不错!
Reply #5851
I released extension, there was no upload attachments (attachment is larger than I 2M, so there is no time to upload). No download links, and friends gave negative feedback. In fact, this extension is really good!
good & bad
Good extension. Bad translation.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.