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', { supports: { className: false }...
If someone also need this nowadays WordPress already has another filter that is easier to implement called render_block https://developer.wordpress.org/reference/hooks/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 system using ACF and Foundation. I...
Success! I had to pass the viewBox attribute from the Font Awesome SVG file. The code below worked for me: