I want to have a button on my page become enabled when a change has been made in a Xinha editing area (ideally) or when the user clicks in the Xinha editing area (second best).
How can I add an onChange or onClick event handler to the Xinha area that will be visible to objects on the page outside the Xinha area, without breaking Xinha's internal event handling?
Thanks for your help.
You won't be able to listen to those things directly, there is no onchange for a start when we are dealing with an iframe (this is how Xinha works).
Look at the plugins CharCounter and SaveOnBlur, and also the code in XinhaCore (somewhere) which connects up the activateEditor handler, I think if you read those things you can probably work out a way to either modify Xinha or better write a plugin which can trigger some callback function to do what you need it to do.