Set Parent Group block alignment while editing Template Part #34010
Labels
[Block] Template Part
Affects the Template Parts Block
[Feature] Template Editing Mode
Related to the template editor available in the Block Editor
[Type] Enhancement
A suggestion for improvement.
Is there an existing issue for this?
Have you tried deactivating all plugins except Gutenberg?
Have you tried replicating the bug using a default theme e.g. Twenty Twenty?
Description
I should be able to modify a parent group block's alignment width setting (wide/full) when editing a template part in a template part's editor view within the Site Editor.
When applying a background color in the template part editor view, it seems the group block is 100%— but here's what we get instead:
So I went to ensure it was set to
alignfull
l, but the template editor view would not allow it. However, I could go into the standard Site Editor view (editing the singular template for example) and I was able to properly set the width to alignfull.Step-by-step reproduction instructions
Expected Behavior
I can set alignfull/alignwide while editing a specific template part.
Current Behavior
The align controls are missing (wide/full) when viewing a template part within its own edit view.
Screenshots or screen recording (optional)
Editing a template part within the Site Editor > Singular template (works):
Editing a template part on its own view:
Code snippet (optional)
No response
WordPress Information
5.8
Gutenberg Information
11.2.1
What browsers are you seeing the problem on?
No response
Device Information
No response
Operating System Information
No response
The text was updated successfully, but these errors were encountered: