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).
Related Posts:
- Validation error: Extending Gutenberg gallery block
- WordPress Block Variation for Gallery Columns
- How to get Gutenberg Gallery Block to output thumbnail images?
- WordPress-gutenberg – Block validation: Expected text
- How Do I Prevent An Image From Automatically Adjusting In Guttenberg Block Gallery?
- Custom block Block Validation failure w/ deprecation declared
- Custom Gallery Block – Uncaught TypeError: setAttributes is not a function
- Block Validation Error
- How do I register multiple blocks with block.json and register_block_type_from_metadata?
- gutenberg block – how to force update after attribute changed?
- How can I add a custom attribute to Gutenberg core blocks?
- How to use the WordPress < LinkControl /> Component
- Add PHP block template to content using wp_insert_post
- Gutenberg reusable blocks – is it possible to customise an instance?
- Dynamic gutenberg block with react instead of php
- Gutenberg block get categories in SelectControl
- How to access “default” property of attribute in Gutenberg
- How to use “getEntityRecords” for user data?
- Gutenberg: Restrict Top Level Blocks, But Not Child Blocks
- How to disable alignments for block patterns?
- How to change the admin/password when using the E2E Test Utils for Gutenberg
- Create a custom render Appender button to add Inner Blocks
- Get a WordPress Gutenberg Block Attribute to use it in frontend
- Rename reusable blocks shown in navigator
- How to troubleshoot a custom Gutenberg block error: “This block has encountered an error and cannot be previewed”
- Two Gutenberg components sharing the same Panel Body in Inspector Controls
- How to learn Gutenberg block development [closed]
- Unable to disable Gutenberg with plugin Classic Editor or Disable Gutenberg
- How to use the @wordpress/date block in the Gutenberg editor?
- Gutenberg Block Development: Trying to add custom js script to npm start command by modifying webpack.config
- Popover in a LinkControl style
- Is there any way to render the WordPress Gutenberg core/embed block in PHP by passing in the URL?
- How to use in Block Editor – react-bootstrap?
- Double container elements on custom block in editor
- How to target block variations with has_block()?
- How to add extra option to WP core gallery block?
- Can I jump over a InnerBlocks component to target content inside with react-flickity-component?
- Use a React Component in conjunction with Blocks
- Make a custom block like default paragraph block, so that Enter starts a new block
- Custom gutenberg block not rendering with styles on frontend
- Gutenberg Block on Second Edit fails validation
- Import setAttributes() method in a separated module
- Block Controls not showing
- WordPress Full Site Editing: How can I access my posts listing page?
- Editable button with RichText for Gutenberg custom block
- How to reload data stored for a sever side gutenberg block in the editor
- Using wp_set_script_translations without manually registering the script
- How to remove the old “Custom CSS” from customizer after the theme has been migrated to Gutenberg FSE
- Update number of posts when attribute changed
- Custom default settings for WP native Gallery Block
- Connect WordPress and react front-end
- Gutenberg editor auto remove wrapping tags like
- Setting fontSize within core/heading
- WordPress Dynamic Block with multiple checkboxes
- Embedded block editor in block editor
- useSelect in block Edit always returns default store value
- Count Gutenberg blocks on the front-end?
- How to call a react hook on edit of registerBlockType?
- add arrow icon next to read more link on latest posts gutenberg block
- Create a trailing block with programatically generated Gutenberg columns
- How to make attributes unique to Gutenberg blocks
- How to check title is being entered in Title Case?
- Gutenberg link of internal page not showing
- Create Gutenburg Block to render inline SVG
- Gutenberg blocks not full width
- How to extend the URLPopover render settings for the paragraph Gutenberg block?
- Custom Image Gutenberg Block With Caption
- How to make a block similar to another block
- Gutenberg: How to enqueue scripts conditionally in render_callback by checking for an attribute?
- How can I reintroduce autocompletion of Gutenberg components in Visual Code?
- Blocks – any way to have editor honor width percentages on child blocks?
- Using `esc_attr( get_block_wrapper_attributes() )`, results in `class=””wp-block-foo””`
- How to display dynamic block editor on front-end?
- Enable varying text for Phone, Tablet and Desktop
- Debouncing Input value with block attributes
- Pass component name in onChange [closed]
- Add another option to default link control settings panel?
- With full-site-editing menus, how do I create a non-linking top-level menu item with linking sub-pages
- How can I render a built-in Gutenberg block with InnerBlocks outside of the block editor?
- How do I add filters in Twenty-Twenty-Three without a functions.php?
- Different style options for the same block depending where it is used
- How to extract ‘intro’ block from page content, but later strip from page main content
- How to add Gutenberg editor on frontend page?
- WordPress gutenberg block serverside rendering html elements not showing up
- Gutenberg: change block Components Popover properties
- Unable to register a block using block.json in Block Editor
- How to implement Mapbox GL JS with a custom Gutenberg block in FSE?
- Hard code block with nested block in front-page.html template
- Use a custom block inside another custom block
- Controlling or disabling Gutenberg editor panning/focus on a custom slider block
- Default value for highorder component in Gutenbrg?
- Custom gutenberg block: window.wp.blockEditor returns undefined
- How can I add a wrapper class to individual blocks inside of an InnerBlocks component?
- how can I remove all default settings in Gutenberg blocks? example core/button
- How do i create a switch for responsive devices?
- Set a default overlay color for the Core Cover block in theme.json
- Add Gallery items programmatically inside an InnerBlock
- Is it possible to add settings to a search block in Gutenberg?
- Block markup not working inside WP_Query
- What is the name of the user capability to read a synced pattern inside a post?