Meliborn
Meliborn

Reputation: 6645

How can I detect on change event in ckeditor instance?

I want realize a "live" editing. When you editing content in ckeditor, the same content appear in other place (like div, p, etc.) in same time.

Other interesting question: when I removed display:none and visibility:hidden from text area, which attach to ckeditor, I saw, that it's empty. But if I try to get value of textarea ($('#text_editor').val()) there are content from ckeditor. What is the magic?

Upvotes: 1

Views: 4990

Answers (1)

steve_c
steve_c

Reputation: 6265

One of the developers of ckeditor has developed an onchange plugin.

Upvotes: 1

Related Questions