Skip to content

Show Template with Template Parts, unable to select #76101

@dannyreaktiv

Description

@dannyreaktiv

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.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Block] Template PartAffects the Template Parts Block[Feature] Page Content FocusAbility to toggle between focusing on editing the page and editing the template in the site editor.[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions