blockquote right align ouput #16027
Labels
[Block] Quote
Affects the Quote Block
[Package] Block library
/packages/block-library
[Type] Enhancement
A suggestion for improvement.
In looking at #11609 and #10970 neither seemed to address an issue I've been frequently running across for frontend output vs editor output.
I agree that the styling using something like
[style*="text-align: right"]
is a little hacky, but even in using it - the output on the frontend won't match that selector, and it has to be specified as[style*="text-align:right"]
(no space). The editor view includes a space.I think it would be a nice addition to have the alignments handle via a class overall, but in the very least having the output for the inline style consistent would be helpful. Sure a heavier selector could be used like
[style*="right"][style*="text-align"]
but that is still error prone leaving something like[style*="text-align: right"],[style*="text-align:right"]
as being the only somewhat safe solution to cover both scenarios.The text was updated successfully, but these errors were encountered: