0

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

错误 :

未捕获的类型错误:无法读取 null 的属性“getClientRect”

编辑器错误

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

帮助总是受到赞赏。

谢谢!

4

0 回答 0