-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Feature] Templates APIRelated to API powering block template functionality in the Site EditorRelated to API powering block template functionality in the Site Editor[Package] Edit Post/packages/edit-post/packages/edit-post[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When using the template switcher in the post editor sidebar to switch from a custom template back to the default one, there is a brief flash of layout reflow but apart from that no visual indication that the change was successful. Neither the template name in the sidebar or the layout actually changes.
Step-by-step reproduction instructions
- In a block theme with more than one post (single) template, create a post and set it to use a non-default template.
- Save and reload the page.
- Try switching the template back to the default.
Screenshots, screen recording, code snippet
Environment info
I noticed this happening on the latest Gutenberg trunk, but it's also reproducible on WP 6.1.1 with no plugins enabled so it's not a regression from the last release.
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] Templates APIRelated to API powering block template functionality in the Site EditorRelated to API powering block template functionality in the Site Editor[Package] Edit Post/packages/edit-post/packages/edit-post[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
