Sibling inserter doesn't appear above selected block with no toolbar #7884
Labels
[Feature] Inserter
The main way to insert blocks using the + button in the editing interface
[Type] Bug
An existing feature does not function as intended
Milestone
Describe the bug
The sibling inserter (+) doesn't appear above a block that is selected if the block has no toolbar.
To Reproduce
Expected behavior
The sibling inserter (+) should appear.
Screenshots
Additional context
This is because we disable
:hover
on the sibling inserter that is before a selected block. This prevents it from getting in the way when there is a toolbar.gutenberg/editor/components/block-list/style.scss
Lines 751 to 760 in 74e1b76
To fix this, we would have to update the CSS above to be smart enough to know whether or not there are items in
BlockToolbar
. This could be awkward since that information is stored in React context.Came up in #7799.
The text was updated successfully, but these errors were encountered: