How to use the @wordpress/editor.UnsupportedBlock.name function in @wordpress/editor

To help you get started, we’ve selected a few @wordpress/editor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wordpress-mobile / gutenberg-mobile / src / app / AppContainer.js View on Github external
		const hasUnsupportedBlocks = ! isEmpty( blocks.filter( ( { name } ) => name === UnsupportedBlock.name ) );
		RNReactNativeGutenbergBridge.editorDidMount( hasUnsupportedBlocks );