Skip to content

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
xubingzhen committed Oct 8, 2015
1 parent 25561ea commit 1d2af32
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ class EditorController extends crazydb\ueditor\UEditorController
'config' => [
//client config @see http://fex-team.github.io/ueditor/#start-config
'serverUrl' => ['/ueditor/index'],//确保serverUrl正确指向后端地址
'lang' => 'zh-cn'
'lang' => 'zh-cn',
'iframeCssUrl' => Yii::getAlias('@web') . '/static/css/ueditor.css',// 自定义编辑器内显示效果
]
]) ?>
```
Expand All @@ -157,6 +158,11 @@ class EditorController extends crazydb\ueditor\UEditorController
]) ?>
```

### 其他

编辑器内默认情况下行高为1,大段中文编辑显示效果非常差,但是可以通过设置 `iframeCssUrl` 来修改编辑器内显示效果。


相关链接
-----
@see https://github.com/fex-team/ueditor

0 comments on commit 1d2af32

Please sign in to comment.