Javascript 无法销毁CKEditor实例

Javascript 无法销毁CKEditor实例,javascript,ckeditor,ckeditor4.x,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.texta

在我将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”

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

帮助总是值得感激的


谢谢

你能把完整错误的堆栈跟踪放在这里吗?@thiagoh这是ckeditor.js中的一行,我在那里得到这个错误'g=c.getClientRect(),m=a.getClientRect(),l,f=this.\u notificationWidth'请将堆栈跟踪添加到你的问题中,这样我们就可以完整地阅读它了@maitiest@thiagoh更新。谢谢