Hi,
I am trying to detect if the editor as been destroy...
Thanks in advance...
I am trying to detect if the editor as been destroy...
editor.destroy();
if(editor.isDestroy()){...}
Thanks in advance...

Re: Detect if editor was destroyed
if(CKEDITOR.instances[YOURID]) { // Editor is still there } else { // editor has been destroyed }you have to exchange YOURID with the id-property of the editor. Of course if you already have the variable that should contain the editor, you can also write
editor.destroy(); if(editor){...}