KindEditor.ready(function(K){
K.create('textarea[name="content"]', {
themeType: 'simple',
resizeType: 1,
uploadJson: 'common/KEditor/upload_json.php',
fileManagerJson: 'common/KEditor/file_manager_json.php',
allowFileManager: true,
afterCreate: function(){this.sync();}//貌似不加也可以
afterBlur: function(){this.sync();} //当失去焦点时执行 this.sync();
});
});
K.create('textarea[name="content"]', {
themeType: 'simple',
resizeType: 1,
uploadJson: 'common/KEditor/upload_json.php',
fileManagerJson: 'common/KEditor/file_manager_json.php',
allowFileManager: true,
afterCreate: function(){this.sync();}//貌似不加也可以
afterBlur: function(){this.sync();} //当失去焦点时执行 this.sync();
});
});