Hi all,
This is the trimmed version of my code.
var foundEditor = CKEDITOR.instances[id];
if (foundEditor) {
foundEditor.destroy();
}
And whenever destroy() called, this exception message will show up in my Chrome debug console:
Uncaught TypeError: Cannot call method 'getRanges' of null
Any ideas?
Handi
This ticket explains the fix
This ticket explains the fix is in 4.1.1:
http://dev.ckeditor.com/ticket/10219
I confirmed that the error message doesn't appear again against this build.