Hi There,
I'm building an extension to an upcoming CMS to allow for inline post editing on a page. The CMS uses its own skin and toolbar layout for CKEditor (which is customisable) which I am using in the blog edit for added consistency.
The editor is created via the jQuery plugin, by calling .ckeditor() on the correct element. The editor shows up fine and the content is filled and parsed and displays as a WYSIWYG. I can edit the content just fine. However, when I click on any of the toolbar buttons and try to format text, or insert a list, everything starts going wrong.
The text is formatted, or the list is inserted just as usual, however, straight afterward the editor seems to "refresh" itself - the .ckeditor() function is called again, the <span id="ck_editorn id is incremented and the text goes back to its previous state, with the original formatting, losing all current work.
Anybody experienced this before? Could somebody help me out?
Thank you,
Jamie
I'm building an extension to an upcoming CMS to allow for inline post editing on a page. The CMS uses its own skin and toolbar layout for CKEditor (which is customisable) which I am using in the blog edit for added consistency.
The editor is created via the jQuery plugin, by calling .ckeditor() on the correct element. The editor shows up fine and the content is filled and parsed and displays as a WYSIWYG. I can edit the content just fine. However, when I click on any of the toolbar buttons and try to format text, or insert a list, everything starts going wrong.
The text is formatted, or the list is inserted just as usual, however, straight afterward the editor seems to "refresh" itself - the .ckeditor() function is called again, the <span id="ck_editorn id is incremented and the text goes back to its previous state, with the original formatting, losing all current work.
Anybody experienced this before? Could somebody help me out?
Thank you,
Jamie