Block Markup with theme.json
-
There seems to be some markup changes when using a
theme.jsonfile. For example whenwp-block-imagealign classes are applied, they no longer have a wrapper class. I.e. the “alignleft” class will be added directly to thewp-block-imageelement.This never used to be the case. It used to be wrapped inside a
divwith thefigureelement nested, and the align class added to that instead, which made it easier to align the block properly with CSS.Is there anyway to re-add this or revert it without removing the
theme.jsonfile?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Block Markup with theme.json’ is closed to new replies.