IssueRaiser

Block Bindings: Support binding to `innerBlocks`

Note: this issue was originally written with the idea of supporting `innerBlocks` bindings for pattern overrides, but the scope has been broadened to all blocks. The description has been simplified. ## What problem does this address? Some opportunities that arise from supporting bindings to innerBlocks have already been mentioned in #41073. For pattern overrides, this would also be a hugely beneficial feature. Users could create synced patterns that have free areas for adding content. For example, imagine patterns that have particular locked design elements mixed with free written content. Pattern creators could also control the blocks that are insertable into a pattern. A user would be able to control the design across every usage of that pattern. It'd also make it possible to replace the Post Content block with a group that has innerBlocks bindings. Patterns would start to become as powerful as templates, and perhaps there's some convergence of those concepts. ## What is your proposed solution? Previously block bindings have only supported binding attributes, but if bindings could also be configured for inner blocks, the above problems could be solved.

Posted by talldan on Apr 30, 2024, 6:04 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

support (Other)

Block Bindings: Support binding to `innerBlocks`

talldanApr 30, 2024, 6:04 AM

Note: this issue was originally written with the idea of supporting `innerBlocks` bindings for pattern overrides, but the scope has been broadened to all blocks. The description has been simplified. ## What problem does this address? Some opportunities that arise from supporting bindings to innerBlocks have already been mentioned in #41073. For pattern overrides, this would also be a hugely beneficial feature. Users could create synced patterns that have free areas for adding content. For example, imagine patterns that have particular locked design elements mixed with free written content. Pattern creators could also control the blocks that are insertable into a pattern. A user would be able to control the design across every usage of that pattern. It'd also make it possible to replace the Post Content block with a group that has innerBlocks bindings. Patterns would start to become as powerful as templates, and perhaps there's some convergence of those concepts. ## What is your proposed solution? Previously block bindings have only supported binding attributes, but if bindings could also be configured for inner blocks, the above problems could be solved.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue