You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Button group doesn't easily support adding custom buttons #77839
When you add a custom button block as an allowed child of the buttons block, it doesn't adapt the insert to a pick list. The code is set so it only anticipates a single block, which means it's difficult to add custom blocks (you must rely on transforms which is not ideal).
The buttons block should default to adding a default button if multiple button options are not available, however if the block is changed to support multiple allowed blocks, then it should change to a pop-up style inserter like most of the other blocks.
It should be possible to support this with full backwards compatibility and no change to most users. This change would only affect the edit side as well so it wouldn't require any block deprecation.
I am willing and able to work on this if this is deemed it should be fixed.
Step-by-step reproduction instructions
Create a custom button block (my example is a block with an icon select)
Filter the buttons block to add your block as an allowed block (see code below)
Go to the editor and add a buttons block
Insert a new block and see it only adds a default block and there's no clear way to insert your new block.
Activity
adithya-naik commentedon Apr 30, 2026
I have reproduced this, and working on this