保障系统之KindEditor基本使用

复文本编辑框:CKEditor,UEEditor,TinyEditor,KindEditor

items 控制菜单

resizeType:0,1,2  0 不能拉,1是上下拉,2是上下左右都可拉

allowPreviewEmoticons:true    表情预览

allowImageUpload:true  允许图片上传

详细参数:http://kindeditor.net/docs/option.html

dir=image    可以是图片,也可以是食品、文件

去前段发送后端的文件用chunks保存

editor.html() 获取输入内容

KindEditor.ready()  加载完执行

加var是局部变量,不加var是全局变量

猜你喜欢

转载自www.cnblogs.com/jintian/p/11255059.html