"Edit Original" Pattern keeps Post MetaBoxes #64914
Labels
[Feature] Meta Boxes
A draggable box shown on the post editing screen
[Feature] Synced Patterns
Related to synced patterns (formerly reusable blocks)
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When writing a Page or Post, and clicking "Edit Original" on a synced pattern, the editor shifts into editing the Pattern, but metaboxes associated with the Post remain. This creates a very confusing screen, as it looks like the metaboxes are associated with the Pattern, when they shouldn't be.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
For comparison, this is the screenshot of simply adding a new Pattern. Nice and clean!
However, when you Edit Original from editing a Post, you get this mess:
The metaboxes now all look associated with the Pattern (and will retain any values that had been set previously.)
Environment info
WordPress 6.6.1, no Gutenberg plugin.
Obviously I have not tested with all plugins deactivated, because I need them to create the metaboxes, but I checked the box because it's required. 🤷♂️
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: