Product Editor: Block switcher toolbar icon is present for blocks using toolbar, with Gutenberg 18.1 #45908
Labels
focus: new product ux
revamped product management experience
team: Mothra
type: bug
The issue is a confirmed bug.
Issue Description:
With Gutenberg 18.1 (or trunk), a change was made in WordPress/gutenberg#60010 that causes the block switcher toolbar icon to be present for blocks using the toolbar (such as summary and description), as well as a hover outline.
Gutenberg 18.1
Summary:
Descirption:
Gutenberg 18 or older
Summary:
Description:
Technical Considerations
We could consider introducing a change upstream in Gutenberg to force the block switcher to never appear. Whether that would be welcomed is unknown. This certainly is yet another example of how assumptions on what a "block editor" is can make their way into packages such as
@wordpress/block-editor
. Or, perhaps we are making assumptions on what a "block editor" is, and we really shouldn't be using@wordpress/block-editor
at all.Another approach, which would be rather fragile and prone to future breakage, could be to use CSS to target and hide the block switcher toolbar icon.
The text was updated successfully, but these errors were encountered: