Heading Block: Double alignment controls in toolbar #26335
Labels
[Block] Heading
Affects the Headings Block
[Priority] High
Used to indicate top priority items that need quick attention
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Describe the bug
After #25917 was merged, the block alignment toolbar is automatically added to the Heading block toolbar, and it controls the
align
attribute. This attribute was already in use for text alignment, so now there are two controls which both controlalign
.To reproduce
Expected behavior
Probably text alignment and block size (default/wide/full) should be separate, so that you can have a wide centered heading. Otherwise, maybe use just the
BlockAlignmentToolbar
& remove the text alignment, so it's clear that you can't have wide + center.Screenshots
If you have a wide heading like above, then click text align center, it goes back to default width.
Editor version (please complete the following information):
The text was updated successfully, but these errors were encountered: