Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing synced patterns does not use browser history #60868

Open
ajgagnon opened this issue Apr 18, 2024 · 1 comment
Open

Editing synced patterns does not use browser history #60868

ajgagnon opened this issue Apr 18, 2024 · 1 comment
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Package] Edit Post /packages/edit-post [Type] Bug An existing feature does not function as intended

Comments

@ajgagnon
Copy link

Description

Right now, when you click "Edit Original" on block patterns, it does not use browser history. While the back button in the editor UI does work, it is hard to spot and easy to miss. The user's default reaction is to click the back button in the browser.

Step-by-step reproduction instructions

  1. Create a synced pattern.
  2. Click "Edit Original".
  3. Click your browser's back button.

Screenshots, screen recording, code snippet

Zight.Recording.Apr.18.mp4

Environment info

  • Gutenberg 18.1.2
  • WordPress 6.5.2

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

@ajgagnon ajgagnon added the [Type] Bug An existing feature does not function as intended label Apr 18, 2024
@talldan
Copy link
Contributor

talldan commented Apr 19, 2024

Thanks for reporting. It is a known issue. The same problem has existed with the editing of templates for a while now too, and editing patterns works the same way. I don't think it will be a quick fix.

I'm not seeing any issues that talk about a solution for this, but my understanding is that it may be fixed in the future by two different efforts:

@talldan talldan added [Package] Edit Post /packages/edit-post [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Package] Edit Post /packages/edit-post [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants