WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #37025, comment 1


Ignore:
Timestamp:
06/04/2016 03:25:28 AM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37025, comment 1

    v1 v2  
    33- Simplify the "Backup available" notice (no inline undo), and add short explanation of what is changing and how to revert it. (The text may need some editing.)
    44- When restoring to the Visual editor make sure it creates an undo level.
    5 - When restoring to the Text editor use `document.execCommand()` so the change can be undone with Command/Ctrl + Z. (Using node.value = 'string' prevents the user from undoing it).
     5- When restoring to the Text editor use `document.execCommand()` so the change can be undone with Command/Ctrl + Z. (Using textarea.value = 'string' prevents the user from undoing it).
    66
    77Other suggestions about how to make this a bit more user friendly welcome :)