Can’t go back on a page after clicking “Edit original” on a synced pattern #65824
Closed
2 tasks done
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Hi,
I was editing a page containing a synced pattern.
There was a need to edit the pattern, so I clicked on “Edit original”, and then I was stuck on the pattern edit page and couldn’t come back on the initial page.
After struggling a bit to find what I was missing, because hitting the browser back button makes you return on the previous URL (not the initial page), so there must had been a solution to this problem!
And I finally found that it was because I enabled the preference “Top Toolbar (Access all block and document tools in a single place)”, the back button I needed was in fact hidden by this setting when accessing "Edit original"
It’s still possible to go back by first clicking on a block, then click on “Hide block tools”, and finally the back button appears, but it’s a bit counterintuitive…
Also, the back button doesn't reappear when disabling "Top Toolbar", in contrary to a precedent screencast I made on WordPress 6.6.1 (without Gutenberg plugin) : https://app.screencast.com/oBZynUDAoGbV2
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Go.back.-.synced.patterns.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: