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

Cannot change Media & Text alignment when inside column block #36967

Open
MarieComet opened this issue Nov 29, 2021 · 3 comments
Open

Cannot change Media & Text alignment when inside column block #36967

MarieComet opened this issue Nov 29, 2021 · 3 comments
Labels
[Block] Columns Affects the Columns Block [Block] Media & Text Affects the Media & Text Block [Type] Bug An existing feature does not function as intended

Comments

@MarieComet
Copy link
Contributor

Description

When a Media & Text block is inside a Column block, alignment control (toolbar) disappear.
Since Media & Text block has "wide" as default alignment, it make overflow parent column.

Maybe it's related to #33374 but not sure.

Step-by-step reproduction instructions

Use a bloc based theme (2022 for example), insert a Columns block, then in Column, insert a Media & Text block.
Alignment control is missing from Media & Text toolbar.

Screenshots, screen recording, code snippet

Media & Text block inside column :
image

Media & Text block outside column :
image

Environment info

  • WordPress 5.9-alpha-52262
  • Gutenberg 11.9.1
  • Theme Twenty Twenty-Two

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@annezazu
Copy link
Contributor

annezazu commented Dec 14, 2021

I can replicate this with 5.9 Beta 2 and don't see any recent PRs around this ahead of future Betas. It's unclear to me what's intended here though!

@annezazu annezazu added [Block] Columns Affects the Columns Block [Block] Media & Text Affects the Media & Text Block [Type] Bug An existing feature does not function as intended labels Dec 14, 2021
@Mamaduka
Copy link
Member

Mamaduka commented Jan 5, 2022

I'm removing this issue from WP 5.9 project board.

Let's try to fix this for the next release.

@carolinan
Copy link
Contributor

I am able to reproduce this if the theme has a theme.json file.
It does not make a difference if I enable the layout setting on the column or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Columns Affects the Columns Block [Block] Media & Text Affects the Media & Text Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants