It turns out ACF blocks provide the attributes in the $block variable available in the PHP file mentioned in renderTemplate property of block.json. So, in my case it was available as $block[‘title’].
How to add a tooltip for MediaReplaceFlow from @wordpress/block-editor
Custom Link Block with own background color
How to dynamically add style tags to Gutenberg editor in react
Thanks to Toms reply I took a closer look again with fresh eyes and saw that I wrote columns: ‘2’ instead of columns: 2. I also added the linkTo: ‘media’ attribute and rearranged the code to follow documentation (passing BlockProps to innerBlocksProps – I edited the original code post to reflect that).
Is it possible to add custom Components in the InspectorControls to the new “Styles” Tab?
It sounds like the issue might be related to the way WordPress loads parent and child themes, and how it handles functions that are defined in both. When a child theme is active, WordPress loads the functions.php file from the child theme first, and then loads the parent theme’s functions.php file. If there is a … Read more
Gutenberg: change block Components Popover properties
Resaving posts to update static blocks