Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40974, comment 16


Ignore:
Timestamp:
07/07/2017 12:01:41 AM (7 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40974, comment 16

    initial v1  
    11In 40974.2.diff: use `editor.on( 'hide', ... )` to run `triggerChangeIfDirty()` when the Text tab is clicked.
    22
    3 Seems to work well here. The `editor.isDirty()` is not yest set when the `paste` event fires, can pass the event and check it instead of setting it manually.
     3Seems to work well here. The `editor.isDirty()` is not yet set when the `paste` event fires, can pass the event and check it instead of setting it manually.
    44
    55@rinkuyadav999 can you test if that works for you too please.