Skip to content

Commit

Permalink
👮 👮
Browse files Browse the repository at this point in the history
  • Loading branch information
BigKuCha committed Feb 9, 2015
1 parent d6b046f commit 8d0f6d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ echo \kucha\ueditor\UEditor::widget([]);
echo $form->field($model,'colum')->widget('kucha\ueditor\UEditor',[]);
```
### 说明
##### `ueditor`只支持2种语言,`en-us``zh-cn`,默认跟随系统语言 `Yii::$app->language`,可以通过2种方式设置,1.修改系统语言,在`main.php`(高级版) 或者`web.php`(基础版)添加`'language' => 'zh-CN',`。2.实例化的时候配置语言选项,见下边配置
`ueditor`只支持2种语言,`en-us``zh-cn`,默认跟随系统语言 `Yii::$app->language`,可以通过2种方式设置,1.修改系统语言,在`main.php`(高级版) 或者`web.php`(基础版)添加`'language' => 'zh-CN',`。2.实例化的时候配置语言选项,见下边配置

### 配置相关

##### 编辑器相关配置,请在`view` 中配置,参数为`clientOptions`,比如定制菜单,编辑器大小等等,具体参数请查看[UEditor官网文档](http://fex-team.github.io/ueditor/)
Expand Down

0 comments on commit 8d0f6d7

Please sign in to comment.