无法销毁CKEditor实例

时间:2015-12-10 10:59:15

标签: javascript ckeditor ckeditor4.x

在我将CKEditor 更新为最新稳定版本 4.5.6 之前,所有内容都正常工作但是在我更新后我得到了错误,同时尝试使用以下代码销毁 ckeditor实例

//this is what i was using originally
    CKEDITOR.instances.textarea1.destroy() 

//this is what i found on the internet but gave the same error
    CKEDITOR.instances.textarea1.destroy(false) 
    CKEDITOR.instances.textarea1.destroy(true)
    CKEDITOR.instances[textarea1].destroy()
    CKEDITOR.instances[textarea1].destroy(false)
    CKEDITOR.instances[textarea1].destroy(true)

错误:

  

未捕获的TypeError:无法读取null的“getClientRect”属性

Ckeditor Error

我在sharepoint 2013项目中使用此编辑器

总是感谢帮助。

谢谢!

0 个答案:

没有答案
相关问题