Gutenberg remove Most Used group

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; }

Gutenberg default initial values for FocalPointPicker

Ok, I found the solution by myself. Inside withSelect it is needed to assign default value if getEditedPostAttribute is empty. // Helper function to check if received meta object is empty or not function isEmpty(obj) { for(var key in obj) { if(obj.hasOwnProperty(key)) return false; } return true; } PhotoControl = withSelect( (select) => { let … Read more