I have a custom block called Custom Card
that takes an InnerBlock
as a child. The purpose of this is because I want to format the content within the Custom Card
a very specific way.
The Custom Card
has three allowed blocks:
core/quote
core/video
core/image
The problem I've run into, is that after a user selects a block they can continue to add more blocks to the same Card. I want to limit the card to allow them to select one of the three options they have available. What is some ways I can go about doing this?