InnerBlocks adds any block and saves, but the editor doesn’t show child blocks on reload
Turns out the parent block was locking the template. I added some code to lock InnerBlocks only when we a new child block is added. for (let i = 1; i <= parseInt(numChildren); i++) { defaultChildren.push( [“accordion/child”, { className: ‘accordion-‘ + i }, [[“core/paragraph”,{content:’Accordion ‘ + i,}]] ] ); } const onChangeNumChildren = (newNumChildren) => … Read more