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
You can use CKEDITOR.editor.setData:
http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setData
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With