Can’t remove core blocks
-
I’m using this guide to try and remove the column block to replace with my own column block: https://github.com/WordPress/gutenberg/blob/377c222ebaecdab3771dfd3e66f940aa1fe94954/docs/extensibility/extending-blocks.md#removing-blocks
But it’s saying that the core/columns block is not registered. In fact, none of the core blocks are registered. When I
console.log(wp.blocks.getBlockTypes());
the only block present is a gravity forms block from a different plugin. I have my priority on my enqueue_block_editor_assets hook to be 99 so in theory it should come after the core blocks are registered.add_action( 'enqueue_block_editor_assets', 'rti_blacklist_blocks', 99 );
- The topic ‘Can’t remove core blocks’ is closed to new replies.