-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Align "None" is available for blocks when they have no other alignment options #35341
Copy link
Copy link
Closed
Closed
Copy link
Labels
[Feature] BlocksOverall functionality of blocksOverall functionality of blocks[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
It might be an edge case, so feel free to ignore this 😄 .
Align option "None" is available for a group block while other options are missing. I think if the only alignment option is "None," we shouldn't display alignment controls.
I discovered it while trying to debug #34010.
cc @ntsekouras
Step-by-step reproduction instructions
- Install and activate the "Blockbase" theme.
- Go to Site Editor > Template Parts > Footer.
- Select wrapper Group block.
- See that only align "None" option is available.
Screenshots, screen recording, code snippet
Environment info
- WordPress 5.8.1, Gutenberg 11.6
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] BlocksOverall functionality of blocksOverall functionality of blocks[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
