Add possibility to add custom block alignments #60937
Labels
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Enhancement
A suggestion for improvement.
Add possibility to add custom block alignments
I would like to have a feature that my block can be constrained to content width (like it normally is for blocks), but also to fit content inside the block, in which case it may be smaller or bigger than standard sizes. Most logical place for me would be to add another custom alignment in alignment control toolbar which would have a label "fit block content" and custom icon
What is your proposed solution?
Add some mechanism (possibly hook or slot) to enable adding custom alignment control.
The text was updated successfully, but these errors were encountered: