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
{{ message }}
Repository navigation
Sibling inserter doesn't appear above selected block with no toolbar #7884
Describe the bug
The sibling inserter (+) doesn't appear above a block that is selected if the block has no toolbar.
To Reproduce
Insert a paragraph block with text
Insert a More block
With the More block selected, hover your mouse over in the centre area between the Paragraph block and the More block
Notice that sibling inserter doesn't appear.
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.
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.
@mtias Since all blocks have toolbars now due to the ellipsis menu being moved there, the original intent of this ticket doesn't really make sense anymore. There are no blocks without toolbars. So yeah, it is working as expected, but what the issue wanted to accomplish has not been done, though it is now not really feasible anymore.
Activity
noisysocks commentedon Jul 11, 2018
Not sure how much of a priority this is.
@jasmussen @karmatosed – would you mind putting it in a milestone if you think it's worth doing or just closing it if not?
karmatosed commentedon Jul 12, 2018
I think this could annoy some people so let's milestone it.
mtias commentedon Oct 23, 2018
This seems to be working as expected now.
ZebulanStanphill commentedon Oct 23, 2018
@mtias Since all blocks have toolbars now due to the ellipsis menu being moved there, the original intent of this ticket doesn't really make sense anymore. There are no blocks without toolbars. So yeah, it is working as expected, but what the issue wanted to accomplish has not been done, though it is now not really feasible anymore.