Reputation: 51
I need to refresh/update the content of an CKEDITOR instance. What I try to do is that I have replaced a textarea with ckeditor. Then some javascript changes the content of the replaced textarea. After this, the content of the CKEDITOR has to pull the new content from the Textarea. Is there any function I can call?
hope you guys know a soltuion... Thaks
Upvotes: 4
Views: 10248
Reputation: 5758
You can use CKEDITOR.editor.setData:
http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setData
Upvotes: 4