The forum operates in read-only mode. Please head to StackOverflow for support.
Hello,
Excuse my bad english. I have this code:
document.getElementById(strId).innerHTML = "";
strId is the id of an article element with contenteditable=true. When I run it this code gives an error.
Thanks to all.
If #strId is CKEditor inline editor element you should do
CKEditor.instances[strId].setData('');
instead.
Try this
If #strId is CKEditor inline editor element you should do
CKEditor.instances[strId].setData('');
instead.