Default block, but only within a parent/outer block #7573
Labels
[Feature] Nested / Inner Blocks
Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
[Type] Task
Issues or PRs that have been broken down into an individual action to take
When I press Tab after the last element in my inner block, Gutenberg helpfully creates a new paragraph for me. Unfortunately it's not one of the
allowedBlocks
for the parent and I would prefer that the default block is the one I choose. Is this possible?My research showed that I could use
setDefaultBlockName()
and I could possible hack it to respect the context (based on focus), but I hope there is a better way.The text was updated successfully, but these errors were encountered: