Limit allowedFormats for custom block that uses InnerBlocks
-
I’d like to be able to limit the format options for a custom block using an InnerBlock similar to what we can do for RichText. Is it possible to pass allowedFormats as a property to InnerBlocks using the block template API?
Otherwise, is it possible to use
wp.richText.unregisterFormatType( 'core/image' )
for just our custom block but still have these formats available for other blocks?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.