Skip to content

Ueditor(富文本编辑器)

用法

html
<input type="text" name="content" data-toggle="topjui-ueditor">

属性

属性名属性值类型描述默认值
modulestring[可选] 编辑器所属模块名称
categorydefault[可选] 编辑器所属模块分类名称
modestring[可选] 编辑器调用模式,值为simple时调用简单模式,默认调用完整模式

示例

html
<textarea name="description" data-toggle="topjui-ueditor" data-options="id:'descriptionAddEditor',mode:'simple',height:100"></textarea>
html
<textarea name="content" data-toggle="topjui-ueditor" data-options="id:'contentAddEditor'"></textarea>

基于最新稳定版jQuery EasyUI构建的前端框架