Make WordPress Core

Opened 11 years ago

Last modified 4 years ago

#26988 new enhancement

Need a Button to Cancel/Revert Page/Post Edits in Progress

Reported by: tomdryan's profile tomdryan Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.8
Component: Editor Keywords: has-ux-feedback needs-patch
Focuses: ui Cc:

Description

Currently, if you start editing a page or a post and change your mind, there is no way to easily revert those changes and it leads to a lot of confusion as as if you leave the page and come back, it will tell you that there is an auto save version. Sending to Trash makes no sense because it trashes your whole page. This is VERY confusing and user unfriendly, especially for new users of WP.

There should be a "revert" or "cancel" button when editing that will get rid of current edits and take you back to the last, unedited version of the page/post.

Change History (6)

#1 @tomdryan
11 years ago

Ideally when you try to navigate away from a page with edits in progress, you would get a dialog box with the "Publish" menu, which would also include the new cancel/revert button.

#2 @azaozz
11 years ago

  • Focuses ui added
  • Keywords ux-feedback added
  • Milestone changed from Awaiting Review to Future Release

IMHO this makes sense. When editing, all changes are regularly autosaved. When editing a draft the actual draft post is overwritten in the DB. So we will need to keep the initial content of the editor on page load and add a button to restore it.

Ideally when you try to navigate away from a page with edits in progress, you would get a dialog box with the "Publish" menu...

This may be nice to have but harder (or even impossible) to do in all browsers. This dialog is triggered on beforeunload which is a "special" event. The browsers handle it differently: some would accept a text string and show it, others would only show a standard modal. Can try to get it working.

#3 @chriscct7
9 years ago

  • Keywords needs-patch added

This ticket was mentioned in Slack in #design by karmatosed. View the logs.


7 years ago

#5 @karmatosed
7 years ago

  • Keywords has-ux-feedback added; ux-feedback removed

This feels like something worth considering in Gutenberg @joen.

This ticket was mentioned in Slack in #core-editor by itsjusteileen. View the logs.


4 years ago

Note: See TracTickets for help on using tickets.