You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Title block in Post Content results in loss of style controls in Site Editor #51549
[Block] Post TitleAffects the Post Title Block[Feature] Page Content FocusAbility to toggle between focusing on editing the page and editing the template in the site editor.[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] BugAn existing feature does not function as intended
I ran into this when experimenting with TT3 and the Blank template. This is a common template for when you want to design a really custom layout that is unique to the individual page. In these scenarios, it is common to include the page's title as part of the content.
With the new content edting functionality in the Site Editor, however, it seems to think that the Title block is part of the template instead of being part of the page's content. In addition to this bug, the Title block loses all styling control as well as the Advanced panel. See the video below.
Step-by-step reproduction instructions
Using TT3, create a new page with a Blank template
Add a Title block to the page along with some addition text
Navigate to that page in the Site Editor
Notice that the Title block is getting "picked up" as being part of the template, rather than part of the page's content
Confirm that the styling options are not available to the Title block.
Screenshots, screen recording, code snippet
blank-template-page-title.mp4
Environment info
Gutenberg 16.0
WordPress 6.2.2
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
I'm experiencing a similar issue with a template part. It's a query block to show the latest 3 posts, I now no longer get any styling controls on the title blocks. Can't change font size, etc. Tried deleting the block and adding it again, and same result - no styling.
In the list view, there is also no three dot menu on it, so you can't delete it either.
This only happens in template parts though. If I add a title block in a page it works as normal.
[Block] Post TitleAffects the Post Title Block[Feature] Page Content FocusAbility to toggle between focusing on editing the page and editing the template in the site editor.[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] BugAn existing feature does not function as intended
Activity
mov8cam commentedon Jun 16, 2023
I'm experiencing a similar issue with a template part. It's a query block to show the latest 3 posts, I now no longer get any styling controls on the title blocks. Can't change font size, etc. Tried deleting the block and adding it again, and same result - no styling.
In the list view, there is also no three dot menu on it, so you can't delete it either.
This only happens in template parts though. If I add a title block in a page it works as normal.
noisysocks commentedon Jul 12, 2023
Thanks for the report! #52351 fixed this.