How to use the @wordpress/block-library.__experimentalRegisterExperimentalCoreBlocks function in @wordpress/block-library

To help you get started, we’ve selected a few @wordpress/block-library 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 / gutenberg / packages / edit-site / src / index.js View on Github external
export function initialize( id, settings ) {
	registerCoreBlocks();
	if ( process.env.GUTENBERG_PHASE === 2 ) {
		__experimentalRegisterExperimentalCoreBlocks( settings );
	}
	render( , document.getElementById( id ) );
}

@wordpress/block-library

Block library for the WordPress editor.

GPL-2.0-or-later
Latest version published 1 day ago

Package Health Score

95 / 100
Full package analysis