Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting layout settings in theme.json removes align left/center/right options from blocks like image/video/etc.. #30934

Closed
wwdes opened this issue Apr 17, 2021 · 3 comments
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@wwdes
Copy link
Contributor

wwdes commented Apr 17, 2021

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

@carolinan carolinan added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Apr 18, 2021
@carolinan
Copy link
Contributor

Closing as duplicate of #30934

@wwdes
Copy link
Contributor Author

wwdes commented Apr 18, 2021

Hello, the ID you provided as reference for duplicate is actually this issue.

Closing as duplicate of #30934
Hello, the ID you provided as reference for duplicate is actually this issue.

@carolinan
Copy link
Contributor

Thank you, the correct ID is #30568.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants