Gutenberg InnerBlocks predefined block supports
Your template for InnerBlocks has a small typo in supports: { classname: false } (it’s case-sensitive) and should be className: const MY_TEMPLATE = [ [ ‘my-block/icon’, … Read more
Your template for InnerBlocks has a small typo in supports: { classname: false } (it’s case-sensitive) and should be className: const MY_TEMPLATE = [ [ ‘my-block/icon’, … Read more
If someone also need this nowadays WordPress already has another filter that is easier to implement called render_block render_block Here is an example
have been searching everywhere to figure out how to add an event inside a Gutenberg block. I am working to add an accordion … Read more
Success! I had to pass the viewBox attribute from the Font Awesome SVG file. The code below worked for me: