-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Show Template with Template Parts, unable to select #76101
Copy link
Copy link
Closed
Labels
[Block] Template PartAffects the Template Parts BlockAffects the Template Parts Block[Feature] Page Content FocusAbility to toggle between focusing on editing the page and editing the template in the site editor.Ability to toggle between focusing on editing the page and editing the template in the site editor.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Metadata
Metadata
Assignees
Labels
[Block] Template PartAffects the Template Parts BlockAffects the Template Parts Block[Feature] Page Content FocusAbility to toggle between focusing on editing the page and editing the template in the site editor.Ability to toggle between focusing on editing the page and editing the template in the site editor.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
With an FSE template that is comprised of Template Parts, this leads to editing the Template Parts.
When trying to select any of the blocks within the Template Parts, including the Content block, the only block one can select is the Template Part, which leads to editing the template part, which is NOT what is wanted in this context.
Step-by-step reproduction instructions
Create a Single Posts template that is primarily composed of Template Parts, then go to edit a Post/Page with "Show Template" on.
I guess the fix is to use Patterns instead of Template Parts…?
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.