Block Markup with theme.json
-
There seems to be some markup changes when using a
theme.json
file. For example whenwp-block-image
align classes are applied, they no longer have a wrapper class. I.e. the “alignleft” class will be added directly to thewp-block-image
element.This never used to be the case. It used to be wrapped inside a
div
with thefigure
element 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.json
file?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Block Markup with theme.json’ is closed to new replies.