silverstripe/silverstripe-framework — pull request #3335 by tractorcow (2014-07-28 01:36:18+00:00)
Title: BUG Fix periodic tinymce layout refresh

Refactor of bugfix which was a part of https://github.com/silverstripe/silverstripe-framework/pull/3322

After each 5 second interval the underlying textarea field is saved from the tinymce editor window. The issue with the existing implementation is that it was done in such a way that it triggered the refresh of the content window, interfering with plugins which interact with the content (e.g. the spellcheck plugin).

This fixes the method so that it saves the raw content without triggering any content update, and only when necessary.