http://stackoverflow.com/questions/7073008/detect-change-events-in-wordpress-edi (1 post)

  1. diosney
    Posted 5 years ago #

    How I can detect that there was a change in the rich text editor in the Edit Post page?

    What I want is to execute a function when the user typed something in the rich text editor (HTML and Visual panes).

    I accomplished that in the HTML pane associating a jQuery keyup event in the hidden textarea that tinyMCE create, but still I've not been able to detect user input in the Visual tab.

    I'm using WordPress 3.2.1 and I know that they are using tinyMCE for the rich text editor functionality.

    Seems that tinyMCE uses an iframe to build the Visual tab in the rich text editor, so I tried the examples pointed here without any results.

    Any help appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic