Skip to content

Template Part name is only updated after saving changes #29844

@annezazu

Description

@annezazu

Description

When creating a new template part and adding a name, the name is not reflected on the template part until changes are saved. This came up as part of the third call for testing for the FSE Outreach Program.

Step-by-step reproduction instructions

  1. Setup an FSE site
  2. Add a template part block
  3. Use the settings options to rename the template part
  4. Notice the template part name isn't updated until one Updates Design and goes through the saving flow.

Expected behaviour

I expect the new name to show up as the name of the template part block.

Actual behaviour

The name does not update.

Screenshots or screen recording (optional)

template.naming.mov

WordPress information

  • WordPress version: 5.7
  • Gutenberg version: 10.1.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? TT1 Blocks

Metadata

Metadata

Assignees

Labels

[Block] Template PartAffects the Template Parts Block[Feature] SavingRelated to saving functionality[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions