-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Plugin Block Template editor inconsistency #65584
Copy link
Copy link
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[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
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[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
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
I've noticed that registering a block template with a slug matching exactly
pageeven if not applied (so the meta _wp_page_template does not exist) will be applied if and only if I click on the Template within the editor.The template is applied only to the Editor.
Below is the code I've used
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screencast.from.2024-09-23.23-41-27.webm
Environment info
WordPress Version: 6.7-alpha-59076
Gutenberg Version: 19.3.0-rc.1
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.