jquery ajax 使用append或者html返回数据,第二次ckeditor不加载问题
作者:佚名 时间:2012-02-05
在第二次加载前将建立的实例销毁
<script type="text/javascript">
var instance = CKEDITOR.instances['publish'];
if ( instance) {
CKEDITOR.remove( instance);
}
</script>
publish是建立的ckeditor实例名称
如没特殊注明,文章均为上海联楷网络原创,转载请注明来自:http://www.linksj.com/contact/20151229/n7707.html