The only way to do this at the moment is by using the renderAppender
prop onInnerBlocks
. This prop is only available in the Gutenberg plugin until WordPress 5.3 is released. The theory would be to use state in each CustomCard
to track if there has been a block added, then return false from the renderAppender
function so the user cannot insert more items.