KindEditor和 easyui冲突的问题

来源:互联网 发布:visio for mac 2016 编辑:程序博客网 时间:2024/05/17 08:53

KindEditor和 easyui冲突的问题

解决办法:

要在dialog 开打之后,在加载,即 onOpen事件, 关闭后注销 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 打开Dialog后创建编辑器
onOpen: function (event, ui) {
KindEditor.create('#editor_content', {
resizeType : 1,
allowFileManager:true,
uploadJson:'../../KindEditor/asp.net/upload_json.ashx',
fileManagerJson:'../../KindEditor/asp.net/file_manager_json.ashx'
});
},
onBeforeClose:function(event, ui) {
// 关闭Dialog前移除编辑器
   KindEditor.remove('#editor_content');
},
0 0