[wp-trac] [WordPress Trac] #37025: Improve the "disaster recovery" mode
WordPress Trac
noreply at wordpress.org
Sat Jun 4 03:20:44 UTC 2016
#37025: Improve the "disaster recovery" mode
-------------------------------------+------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Autosave | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------
Changes (by azaozz):
* keywords: => has-patch needs-testing
Comment:
In 37025.patch:
- Hide the "autosave available" notice if present.
- 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.)
- When restoring to the Visual editor make sure it creates an undo level.
- 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).
Other suggestions about how to make this a bit more user friendly welcome
:)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37025#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list