Running a function when the content of yui rte is changed
-
12-09-2019 - |
Question
I'm currently using the Rich Text Editor from the YUI framework. But I don't know how I can run a function when the content of the editor has changed. Want to do this to give the user a message if they leave the site and there is unsaved changes.
Any idea anyone? :)
Solution
I think you want the 'afterNodeChange' event.
Study the API for the Events. It is there that you will find the answers that you seek :-)
OTHER TIPS
editorKeyPress event gives almost all functionality of onchange() html event.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow