Replies: 1 comment
-
I found out that the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have custom block with
spacing.blockGap : true
inblock.json
(I just copied it fromgroup
block)This block is just a wrapper with some css grid styles.
How do I implement
gap
support?The editor displays control for editing.
![зображення](https://user-images.githubusercontent.com/1662812/226695085-f972dc89-2244-41cd-9220-59b157ec49a2.png)
And When I save I get correct value in attributes:
But in front-end
gap
doesn't applyed to this block.At the same time if I create build-in
group
block and setblockGap
in front end WP adds new classwp-container-6
withgap
styles.What should I do to tell WP add gap-classes to my block?
Beta Was this translation helpful? Give feedback.
All reactions