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 alignment of Media & Text block in Widgets #40597

Closed
kangabell opened this issue Apr 25, 2022 · 7 comments
Closed

Cannot change alignment of Media & Text block in Widgets #40597

kangabell opened this issue Apr 25, 2022 · 7 comments
Labels
[Feature] Widgets Screen The block-based screen that replaced widgets.php.

Comments

@kangabell
Copy link

Description

When editing a post I can change the alignment (e.g. "Wide width", "None") of a Media & Text block, but in Widgets the control to do this is missing. This makes any of these blocks stuck forever on "wide width" which is the default and I can't find any way to change it.

Step-by-step reproduction instructions

  1. Go to Appearance -> Widgets.
  2. Add a Media & Text block.

Screenshots, screen recording, code snippet

Widgets:
widgets

Post Editor:
post-editor

Environment info

  • WordPress Version 5.9.3
  • Gutenberg Version 13.0.0
  • Theme: Twenty-Twenty
  • Tested in Firefox on desktop on MacOS

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

@kangabell
Copy link
Author

linking #20941 as it would be helpful in this situation.

@amustaque97 amustaque97 added the [Block] Media & Text Affects the Media & Text Block label Apr 26, 2022
@Mamaduka Mamaduka added the [Feature] Widgets Screen The block-based screen that replaced widgets.php. label Apr 26, 2022
@kangabell
Copy link
Author

#35468 would help too.

@gamebits
Copy link

gamebits commented Jun 7, 2022

Similar issue #36967 indicates that the alignment options also disappear when the block is in a column.

@strarsis
Copy link
Contributor

strarsis commented Jun 22, 2022

+1, Media & Text block alignment option is (also) missing when it is inside a core/group block.
Also in editor the alignment class (alignwide/alignfull) is missing, causing formatting inconsistencies.

@carolinan
Copy link
Contributor

Currently, no blocks on the widget screen seems to support wide and full width, I do not think this is limited to the Media & text block. Please see
#41418
#35468

@carolinan carolinan removed the [Block] Media & Text Affects the Media & Text Block label Aug 5, 2022
@twobyte
Copy link

twobyte commented Feb 24, 2023

Issues like this make the block editor very difficult to use.

A workaround I have found is to create the Media & Text block at the top page level, set the alignment to normal, then copy and paste the block with the correct width into your columns or group.

@jordesign
Copy link
Contributor

Agreed the ability to set a width on blocks in the widget screen is important. As it affects multiple blocks (not just Media/Text) I'll close this issue in favour of #35468

@jordesign jordesign closed this as not planned Won't fix, can't repro, duplicate, stale Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Widgets Screen The block-based screen that replaced widgets.php.
Projects
None yet
Development

No branches or pull requests

8 participants