markup
-
Hi All!
Using <InnerBlocks /> in a block, Wp Gutenberg automatically creates this markup in editor between the block and its content
<div class="block-editor-inner-blocks"> <div class="block-editor-block-list__layout"> // [...here the content?]
However looking at the code generated by the core columns block, the columns are direct children of their container.
How can I achieve the same effect in my custom block?
Many thanks in advance,
Davide
- The topic ‘markup’ is closed to new replies.