Editor History: Undo doesn't work immediately after publishing / saving #37195
Labels
[Feature] History
History, undo, redo, revisions, autosave.
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Undoing immediately after publishing a post in the post editor or saving in the site editor does not work. Undo levels appear to be completely reset.
I can see that this might be deliberate, but what's strange is that adding a few blocks and additional changes after publishing or saving appears to allow undoing / redoing any revision again.
Step-by-step reproduction instructions
Block Editor
Site Editor
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: