Hi,
Hope somebody can help me out. I've made a custom script to interact with a Ckeditor on my page. It uses ckeditor 4 and inplace editting (contenteditable). Also the page make use of Jquery 1.9.1. When I try to use the function insertHtml on an editor with selected text Jquery gives me the following error:
Uncaught RangeError: Maximum call stack size exceeded
(below the expanded error)
The script I use which causes this is:
CKEDITOR.instances[id].insertHtml('test');
I hope somebody can help me out!
Thank you!!
gr. Dennis
UPDATE: looks like bootbox is causing the error.
Complete error (default.v1.js is the jquery library)
- b.event.special.focus.triggerdefault.v1.js:3
- b.event.triggerdefault.v1.js:3
- (anonymous function)default.v1.js:4
- b.extend.eachdefault.v1.js:3
- b.fn.b.eachdefault.v1.js:3
- b.fn.extend.triggerdefault.v1.js:4
- b.fn.(anonymous function)default.v1.js:5
- e.fn.extend.focusdefault.v1.js:11
- (anonymous function)default.v1.js:52
- b.event.dispatchdefault.v1.js:3
- v.handledefault.v1.js:3
- b.event.triggerdefault.v1.js:3
- b.event.simulatedefault.v1.js:3
- rdefault.v1.js:4
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.dom.selection.selectRangesckeditor.js:330
- CKEDITOR.dom.selection.unlockckeditor.js:324
- CKEDITOR.editor.unlockSelectionckeditor.js:308
- (anonymous function)ckeditor.js:301
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- (anonymous function)ckeditor.js:42
- CKEDITOR.editable.CKEDITOR.tools.createClass.proto.focusckeditor.js:265
- (anonymous function)ckeditor.js:273
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- CKEDITOR.editor.CKEDITOR.editor.fireckeditor.js:13
- CKEDITOR.tools.extend.focusckeditor.js:198
- dckeditor.js:264
- CKEDITOR.editable.CKEDITOR.tools.createClass.proto.insertHtmlckeditor.js:267
- (anonymous function)ckeditor.js:273
- hckeditor.js:10
- CKEDITOR.event.CKEDITOR.event.fireckeditor.js:12
- CKEDITOR.editor.CKEDITOR.editor.fireckeditor.js:13
- CKEDITOR.tools.extend.insertHtmlckeditor.js:197
- insertedit_linkplugin.ckeditor.js:249
- bootbox.dialog.callbackplugin.ckeditor.js:213
- (anonymous function)bootbox.modified.min.js:14
- b.event.dispatchdefault.v1.js:3
- v.handle
Same problem
I have the exact same problem, please I need to fix it, what's the solution?