silverstripe/silverstripe-framework — pull request #2052 by chillu (2013-06-03 11:34:22+00:00)
Title: BUG Trigger TinyMCE onChange more frequently

Periodically check for inline changes when focused,
since TinyMCE's onChange only fires on certain actions
like inserting a new paragraph, as opposed to any user input.
This also works around an issue where the "save" button
wouldn't trigger if the click is the cause of a "blur" event
after an (undetected) inline change. This "blur" causes onChange
to trigger, which will change the button markup to show "alternative" styles,
effectively cancelling the original click event.

Tested in Chrome and IE8