Hello,

I wonder why my ckeditor occassionally hang. Like I cannot type any text in it when it is hang.

Here is the error when it is hang:

ckeditor.js:438 Uncaught TypeError: Cannot read property 'getSelection' of undefined
at CKEDITOR.dom.selection.getNative (ckeditor.js:438)
at new CKEDITOR.dom.selection (ckeditor.js:436)
at a.CKEDITOR.editor.getSelection (ckeditor.js:434)
at new CKEDITOR.plugins.undo.Image (ckeditor.js:1023)
at CKEDITOR.plugins.undo.UndoManager.save (ckeditor.js:1018)
at a.<anonymous> (ckeditor.js:1014)
at a.m (ckeditor.js:10)
at a.CKEDITOR.event.CKEDITOR.event.fire (ckeditor.js:12)
at a.CKEDITOR.editor.CKEDITOR.editor.fire (ckeditor.js:13)
at a.setData (ckeditor.js:269)

Any clue why? only occassionally. I sometimes thinking what if I change it into TinyMCE - I am only afraid if the same problem occurs?

Have you tried to updaten it to the latest version?
Also try ckEditor js code at the end of the html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.