I am having an issue with inserting HTML code into my CKEDITOR. I have a button on the page that, when clicked, calls:
editor.insertElement(link);
After inserting the HTML code correctly into the editor, any changes made (such as clicking the 'show source-code' button) cause the inserted code to be lost. Is there a command or method to persist my code in the CKEDITOR?