Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #7392, comment 45


Ignore:
Timestamp:
07/27/2013 05:34:00 PM (11 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7392, comment 45

    initial v1  
    11Was able to reproduce in Chrome (after lots of attempts). The problem is with script timing. This should run after TinyMCE is loaded but before tinymce.init(). One way to do this is by firing a JS event. Currently we init TinyMCE as soon as it loads as we want it to be ready for use as soon as possible.
    22
    3 Another option is to move that code from autosave.js to the 'wordpress' TinyMCE plugin. As `autosaveLast` is a JS global we can set it initially to the as-loaded value and then set it to as-saved-from-tinymce when the Visual editor is default. Testing a new patch.
     3Another option is to move that code from autosave.js to the 'wordpress' TinyMCE plugin. As `autosaveLast` is a JS global we can set it initially to the as-loaded value and then set it to as-saved-from-tinymce when the Visual editor loads. Testing a new patch.