Javascript CKEDITOR destroy()抛出未捕获的类型错误:无法读取属性';检查功能';未定义的

Javascript CKEDITOR destroy()抛出未捕获的类型错误:无法读取属性';检查功能';未定义的,javascript,ckeditor,Javascript,Ckeditor,我正在使用以下代码销毁CKEDITOR的一个实例(版本4.4.7): 代码运行正常,实例已从DOM中删除,但报告了以下错误: Uncaught TypeError: Cannot read property 'checkFeature' of undefined checkAllowed @ ckeditor.js:178 refresh @ ckeditor.js:177 c @ ckeditor.js:920 j @ ckeditor.js:10 CKEDITOR.event.CKEDIT

我正在使用以下代码销毁CKEDITOR的一个实例(版本4.4.7):

代码运行正常,实例已从DOM中删除,但报告了以下错误:

Uncaught TypeError: Cannot read property 'checkFeature' of  undefined
checkAllowed @ ckeditor.js:178
refresh @ ckeditor.js:177
c @ ckeditor.js:920
j @ ckeditor.js:10
CKEDITOR.event.CKEDITOR.event.fire @ ckeditor.js:12
CKEDITOR.editor.CKEDITOR.editor.fire @ ckeditor.js:13
f @ ckeditor.js:215
(anonymous function) @ ckeditor.js:215
(anonymous function) @ ckeditor.js:25

知道我做错了什么吗?

我发现以下内容消除了错误消息:

var ck = CKEDITOR.inline(iElm[0],options);
   ck.on("blur",function() {
   var editor=ck.name;
   $timeout(function() {
       CKEDITOR.instances[editor].destroy();
   },0);
});

编辑器只有一个空的div元素,我们用它来保存编辑器。那么,这样做是否明智:

CKEDITOR.instances.editor.removeAllListeners();

@user1273587我无法在最新的CKEditor中复制。
CKEDITOR.instances.editor.removeAllListeners();