Can blockGap be used on innerBlocks? #53670
warudin
started this conversation in
Developer Experience
Replies: 1 comment
-
Got help from @tellthemachines: in block.json not only the In my case the blocks are aligned vertical so I needed to make extra adjustments for that. |
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 declared support for
blockGap
in the block.json file of a custom block, which hasinnerBlocks
.I can see the controls for the blockGap in the Editor sidebar.
But changing the
Block Spacing
does not affect the distance between blocks in the innerBlocks.Is
innerBlocks
supposed to support the blockGap feature? Do I need to make any code changes for it to work?Here's a simplified sample of my Edit function:
Beta Was this translation helpful? Give feedback.
All reactions