Navigation menus can get stuck in a draft state and cannot be saved without making edits #59688
Labels
[Block] Navigation
Affects the Navigation Block
[Type] Bug
An existing feature does not function as intended
Description
As described in #59685, if a user inserts a navigation block into a post and imports a classic menu, the navigation menu is inserted as a "draft" and the editor is set to a confusing dirty state with unsaved changes. If the user then proceeds to leave the screen, the menu gets stuck in that draft state and there's no way (that I've found) to save/publish that navigation menu without making edits to it, neither in the post edit screen nor the site editor.
Adding to this confusing experience, even though the menu is in a draft state, no edits to it are ever saved (again, in either the post edit screen or the site editor). The only way to save edits, that I've found, is to publish the draft, which is now possible since we modified it.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Tested on 6.4.3 as well as 6.5 RC1
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: