Meta Box
Support Forum
Support › MB Blocks › tag strips all the siblings nodes
Noticed, that placing <InnerBlocks /> tag without wrapping it with a separate tag cuts all the siblings DOM nodes. It's in the js side, the resulting php render is ok
Hi,
Thank you for your feedback.
We have to wrap <InnerBlocks /> in a <div> tag to avoid that issue. Please read more on WP docs https://github.com/WordPress/gutenberg/blob/ab1380cd41d261c91d45a0299dc4af527219e089/packages/block-editor/src/components/inner-blocks/README.md
<InnerBlocks />
<div>
I will update the documentation to cover this case.