Ability to show/hide Table of Contents & Block Navigation buttons in Header Toolbar #16174
Labels
[Feature] Document Outline
An option that outlines content based on a title and headings used in the post/page
[Feature] Extensibility
The ability to extend blocks or the editing experience
[Feature] List View
Menu item in the top toolbar to select blocks from a list of links.
General Interface
Parts of the UI which don't fall neatly under other labels.
Is your feature request related to a problem? Please describe.
Currently there's no way I can hide 2 of the items from the top header toolbar i.e., Table of Contents and Block Navigations.
Neither there's a UI setting for this nor this is possible via code. Because, The
<HeaderToolbar />
component simply renders both the components without any consideration of settings or any filters that we can use as a developer to show/hide those items.https://github.com/WordPress/gutenberg/blob/master/packages/edit-post/src/components/header/header-toolbar/index.js#L41
As a user, I may not want to have those buttons always present on the screen.
Describe the solution you'd like
Couple of approaches I can think of at the moment:
The text was updated successfully, but these errors were encountered: