网站建设技术团队
jquery ajax 使用append或者html返回数据,第二次ckeditor不加载问题
  • 日期 : 2012-02-05

在第二次加载前将建立的实例销毁

var instance = CKEDITOR.instances['publish'];
if ( instance) {
CKEDITOR.remove( instance);
}

publish是建立的ckeditor实例名称