Yii 1.1: wdueditor

Ueditor是由百度web前端研发部开发的所见即所得富文本web编辑器,开源基于BSD协议。
3 followers

http://www.ueditorbbs.com/template/qing/image/logo.png

UEditor1.2.5.0

...overview of the extension...

Requirements

...requirements of using this extension (e.g. Yii 1.1 or above)...

Usage

...how to use this extension...

...can use code blocks like the following...

完整示例
-----
 
$this->widget('ext.wdueditor.WDueditor',array(
        'model' => $model,
        'attribute' => 'content',
)); 
 
 
多语言示例
-----
 
$this->widget('ext.wdueditor.WDueditor',array(
        'model' => $model,
        'attribute' => 'content',
        'language' =>'en',   //多语言  zh-cn  or en  目前官方只有这两种语言。
)); 
 
自定义宽度、高度示例
-----
 
$this->widget('ext.wdueditor.WDueditor',array(
        'model' => $model,
        'attribute' => 'content',
        'width' =>'100%',  
        'height' =>'300px',
)); 
 
UEditor简单功能  自定义Toolbar
------------------
 
$this->widget('ext.wdueditor.WDueditor',array(
        'model' => $model,
        'attribute' => 'content',
        'toolbars' =>array(
            'FullScreen','Source','Undo', 'Redo','Bold'
        ),
));

历史版本

http://www.yiiframework.com/extension/ueditor-for-yii/

Resources

...external resources for this extension...

Total 1 comment

#14050 report it
asa124 at 2013/07/15 12:38pm
配置了直接可以用,但是上传图片显示上传失败,请问如何解决

配置了直接可以用,但是上传图片显示上传失败,请问如何解决??

Leave a comment

Please to leave your comment.

Create extension
Downloads