Javascript 未触发ckeditor 4.9.2 instanceDestroyed事件

Javascript 未触发ckeditor 4.9.2 instanceDestroyed事件,javascript,ckeditor4.x,Javascript,Ckeditor4.x,我已将ckeditor从4.4.6升级到4.9.2。升级后,观察到编辑器的“instanceDestroyed”事件没有被触发。我的应用程序已订阅编辑器的不同事件,如“instanceCreated”、“InstanceRady”和“instanceDestroyed”。除“instanceDestroyed”外,其余事件将按预期触发。事件“instanceDestroyed”的代码如下所示: CKEDITOR.on( 'instanceDestroyed', function(event) {

我已将ckeditor从4.4.6升级到4.9.2。升级后,观察到编辑器的“instanceDestroyed”事件没有被触发。我的应用程序已订阅编辑器的不同事件,如“instanceCreated”、“InstanceRady”和“instanceDestroyed”。除“instanceDestroyed”外,其余事件将按预期触发。事件“instanceDestroyed”的代码如下所示:

CKEDITOR.on( 'instanceDestroyed', function(event) {
    editorState[event.editor.name] = "DESTROYED" ;      
});
有没有解决这个问题的建议?

至于,它不应该在CKEDITOR实例上触发。您必须听取小部件存储库的更改,如下所示:

CKEDITOR.widgets.on( 'instanceDestroyed', function(event) {
   editorState[event.editor.name] = "DESTROYED" ;      
});