Shatterator
Shatterator

Reputation: 51

Refresh content of CKEDITOR

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

Answers (1)

Lukas S.
Lukas S.

Reputation: 5758

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

Upvotes: 4

Related Questions