From 87ac7f4d1946b2bc54d13009a3f69d252acb4af6 Mon Sep 17 00:00:00 2001 From: BigKuCha Date: Mon, 2 Feb 2015 14:30:47 +0800 Subject: [PATCH] rename jsOptions to clientOptions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fb55f2a..b9006c7 100644 --- a/README.md +++ b/README.md @@ -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', //定制菜单