Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter silvanarnet

    (@silvanarnet)

    Found the solution:

        const innerBlockProps = useInnerBlocksProps(
    
            {
    
                className: 'accordion',
    
            },
    
            {
    
                allowedBlocks: ['wk/accordion-item'],
    
                template: [['wk/accordion-item', {}]],
    
                renderAppender: () => (
    
                    <InnerBlocks.ButtonBlockAppender />
    
                ),
    
            },
    
        );
    • This reply was modified 3 years, 5 months ago by silvanarnet.
Viewing 1 replies (of 1 total)