You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Gutenberg is our new editor we get a lot of sidebar panels for the option of the different blocks. Maybe we should add a setting area for remove these panels from the sidebar.
Maybe we should set a whitelist to list only what we set.
wp.domReady(()=>{const{ removeEditorPanel }=wp.data.dispatch('core/edit-post');// Remove featured image panel from sidebar.removeEditorPanel('featured-image');});
Since Gutenberg is our new editor we get a lot of sidebar panels for the option of the different blocks. Maybe we should add a setting area for remove these panels from the sidebar.
Maybe we should set a whitelist to list only what we set.
Example to remove the 'featured-image' panel.
List of all default blocks: https://github.com/WordPress/gutenberg/tree/master/packages/block-library/src
The text was updated successfully, but these errors were encountered: