Ensure ACF field block output supports different settings of the align
attribute
#12
Labels
bug
Something isn't working
align
attribute
#12
Several ACF field types would benefit from being able to select the Alignment; attribute
align
.This doesn't appear to work for "align": "center"
It appears that for
aligncenter
to work the block needs the classhas-text-align-center
.See
oik_server_side_wrapper()
for example code, passing$extra_attributes
toget_block_wrapper_attributes()
The text was updated successfully, but these errors were encountered: