Gutenberg remove Most Used group

I was searching for a solution to remove the “Most Used” group of blocks from Gutenberg editor and couldn’t find any, is there any way?

enter image description here

3 Answers
3

Add CSS to wp-admin:

functions.php:

function admin_scripts() {
  wp_enqueue_style('admin-edits', get_stylesheet_directory_uri() . '/assets/css/admin.css');
}

add_action('admin_enqueue_scripts', 'admin_scripts');

admin.css:

#block-editor-inserter__search-1:placeholder-shown + .editor-inserter__results .components-panel__body:first-of-type {
  display: none;
}

Leave a Comment