Hi
I am having some problems when using setData in Internet Explorer. When using it I get the following error 'this.$.innerHTML' is null or not an object'.
This only happens when I use setData in a custom save function I made
I use setData elsewhere on the same page and having no problems with it.
Also this works fine in Firefox.
Does anyone have an idea to what the problem might be?
I am having some problems when using setData in Internet Explorer. When using it I get the following error 'this.$.innerHTML' is null or not an object'.
This only happens when I use setData in a custom save function I made
CKEDITOR.plugins.registered['save'] = { init: function (editor) { var command = editor.addCommand('save', { modes: {wysiwyg: 1, source: 1}, exec: function (editor) { var data = editor.getData(); var elem = $('storeArea'); elem.update(data); editor.setData(''); } } } ); editor.ui.addButton('Save', {label: 'Gem', command: 'save'}); } }
I use setData elsewhere on the same page and having no problems with it.
Also this works fine in Firefox.
Does anyone have an idea to what the problem might be?
Re: problem with setData in Internet Explorer
Got the same problem
Re: problem with setData in Internet Explorer
Also ran into the same problem. See http://dev.ckeditor.com/ticket/4525 . Adding
to the command definition solved it for me.