Alignment: blocks using alignment should apply data-align
consistently
#7908
Labels
[Feature] Blocks
Overall functionality of blocks
[Type] Code Quality
Issues or PRs that relate to code quality
[Type] Enhancement
A suggestion for improvement.
Moved from #4010 h/t @bradyvercher.
Edit Wrapper Data Attribute
Most of the blocks apply a
data-align
attribute to the edit wrapper with the alignment value similar to this:Center aligning never seems to change the value of the data attribute for the edit wrapper despite it being a valid value for most blocks. It seems like this should be applied consistently in case themes treat
aligncenter
different thanalignnone
or an empty value.The text was updated successfully, but these errors were encountered: