admin管理员组

文章数量:1384836

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 badges
Add a ment  | 

1 Answer 1

Reset to default 4

You can use CKEDITOR.editor.setData:
http://docs.ckeditor./#!/api/CKEDITOR.editor-method-setData

本文标签: javascriptRefresh content of CKEDITORStack Overflow