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
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
Share Improve this question asked Apr 16, 2014 at 14:24 ShatteratorShatterator 511 gold badge1 silver badge4 bronze badges1 Answer
Reset to default 4You can use CKEDITOR.editor.setData:
http://docs.ckeditor./#!/api/CKEDITOR.editor-method-setData