You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When restoring a visual revision or saving a post that includes meta blocks such as the Footnotes block, the editor remains in a dirty state even after the post is saved. Attempting to refresh the page or navigate away triggers the warning: "Changes that you made may not be saved."
Step-by-step reproduction instructions
Restoring Revisions
Open a page or post with revisions.
Restore the post to an older revision using Visual Revisions.
Try going back or refreshing the page.
Notice the warning: Changes that you made may not be saved.
revisions.mov
Saving Posts with Meta Blocks
Create a page or post.
Add Footnotes to some text.
Save the post.
Try going back or refreshing the page.
Notice the warning: Changes that you made may not be saved.
meta_block.mov
Screenshots, screen recording, code snippet
No response
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
Please confirm which theme type you used for testing.
Description
When restoring a visual revision or saving a post that includes meta blocks such as the Footnotes block, the editor remains in a dirty state even after the post is saved. Attempting to refresh the page or navigate away triggers the warning: "Changes that you made may not be saved."
Step-by-step reproduction instructions
Restoring Revisions
revisions.mov
Saving Posts with Meta Blocks
meta_block.mov
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.