Setting layout settings in theme.json removes align left/center/right options from blocks like image/video/etc.. #30934
Labels
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
Description
When experimental-theme.json is used and layout properties are specified, blocks that usually support left/center/right alignment no longer have these options when they are top level blocks.
If this is somehow intended then this issue turns to: How can we disable wide/full width for a specific post type when using theme.json?
Step-by-step reproduction instructions
code in experimental-theme.json that results in missing alignment options:
{ "settings": { "defaults": { "layout": { "contentSize": "800px", "wideSize": "1140px" } } } }
Expected behaviour
Expecting to see buttons Align Left, Align Center, Align Right, Wide Width and Full Width.
Actual behaviour
Only see Wide Width and Full Width.
WordPress information
The text was updated successfully, but these errors were encountered: