Why is removeEditorPanel
deprecated and is there a new alternative?
#61413
-
Hi all I want to customize the Gutenberg editor for my sites I'm handing over to clients. Eg. remove the 3-dots options dropdown completely, and remove several sections under the "Page" tab in the sidebar. Actually ideally, I'd like to remove the "Page" tab completely. I've done a lot of searching but haven't found any solutions. Is there a way I can do this? The only thing I've found that does some of this is Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @binaryfire, I can't answer your bigger question of adjusting the Page tab, but as to the |
Beta Was this translation helpful? Give feedback.
Hi @binaryfire, I can't answer your bigger question of adjusting the Page tab, but as to the
removeEditorPanel
deprecation: that can be found in PR57012. In that PR,removeEditorPanel
seems to have been added tocore/editor
. Check it out at https://developer.wordpress.org/block-editor/reference-guides/data/data-core-editor/#removeeditorpanel (notice that one is not deprecated) and see if that gives you what you need.