create bootstrap columns inside editor group block
According to this answer I’m trying to use the new default block editor of wordpress to set the bootstrap classes on the content of the blocks.
I’m using the group block to set the container and another group block to set the row that are required from the grid of bootstrap. My question is how I can set the columns inside the second block group that will contain the columns? If I use paragraph the result isn’t what I expect, and I have no idea of how to create columns inside a group block.
If you look at the screen you can see that the columns classes are set on the tag <p>
, I need instead to add two divs with the classes. NB: I was using the anchor field of the block editor to set the classes, but I’ve fixed this using the class field instead.
Thanks for the help.
Leave an answer