htmleditor 是extjs中自带的一个简单编辑器,
value是用来加载内容的。
提交
需要转码
htmlDecode ( String value
) : String
将(&, <, >, and ')字符从HTML显示的格式还原
参数项:
value
: String解码的字符串
String
编码后的文本
加载时需要使用Ext.util.Format.htmlDecode
这样内容保存在数据库中就不会报错了