Log in or register to post comments
light setData
I use ckeditor with external textarea (light mode editor) and syncing data between them when needed. Recently I found out that setData method completly rebuilds ckeditor iframe, so I made light version of it.

CKEDITOR.editor.prototype.lightSetData = function(data) {
    this.document.getBody().setHtml(this.dataProcessor.toHtml(data));
    this.fire('contentDom');
}


Can I do this with an existing API? Pull request maybe? And what is the reason for setData to rebuild iframe on each call?