Skip to content

Commit

Permalink
rename jsOptions to clientOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
BigKuCha committed Feb 2, 2015
1 parent 65c1cf7 commit 87ac7f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ echo $form->field($model,'colum')->widget('kucha\ueditor\UEditor',[]);
```
### 配置相关

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

简单实例:
```php
use \kucha\ueditor\UEditor;
echo UEditor::widget([
'clientOption' => [
'clientOptions' => [
//编辑区域大小
'initialFrameHeight' => '200',
//定制菜单
Expand Down

0 comments on commit 87ac7f4

Please sign in to comment.