Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

jquery - 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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...