-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Feature] Template Editing ModeRelated to the template editor available in the Block EditorRelated to the template editor available in the Block Editor[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When switching between templates that have identical content, the Site Editor shows a blank editor. Before #47777, the impact of this issue is bigger:
- From the Archive template, adding the Category/Tag template shows the blank editor (when Tag and Category templates are inherited from the Archive template). If the admin added Tag and Category templates without modification, switching between those templates also have this issue.
- WooCommerce block templates load unreliably inside the Site Editor. woocommerce/woocommerce-blocks#8378
Step-by-step reproduction instructions
The #47777 fixes most use cases by a side effect, but the issue is still reproducible by following these steps:
- With Twenty Twenty-Three activated, create a custom template with the content of the
home.htmltemplate. - Open the Site Editor, the editor shows the Home template by default.
- From the sidebar, navigate to the test template and select it.
- See the blank editor.
Screenshots, screen recording, code snippet
Screen.Recording.2023-02-15.at.17.57.30.mov
Environment info
- WP 6.1.1
- Gutenberg 55b0c38
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
Metadata
Metadata
Assignees
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Feature] Template Editing ModeRelated to the template editor available in the Block EditorRelated to the template editor available in the Block Editor[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended