The forum operates in read-only mode. Please head to StackOverflow for support.
Try this
CKEDITOR.instances.editor1.setData( '<p>Some other editor data.</p>', function() { CKEDITOR.instances.editor1.resetDirty(); } );
Re: Method to clear editor contents
Try this