Hi,
I integrated CKEDITOR with Sencha Touch, but i have an error when i try to destroy an instance of CKEDITOR :
TypeError: Cannot read property 'clearCustomData' of null
I tried to use :
CKEDITOR.instances[this.getId()].destroy(true);
CKEDITOR.instances[this.getId()].destroy();
but I have the same problem.
Any ideas ?
thanks for your help.
I'm having the same issue.
I'm having the same issue. From what my debugger is telling me.
CKEDITOR.editor.destroy() calls this.editable( null );
CKEDITOR.editor.prototype.editable then calls editable.detach()
it's in there that CKEDITOR.dom.window.getFrame is called, but returns null which crashes, and ends the destroy call.
I'm not sure if the problems is the getFrame function, or if something being initialized properly. Any suggestions?
things to note: