-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix regression with Sibling Inserter. #11969
Conversation
The sibling inserter is the plus you see when you hover between two blocks. When you have no blocks selected, or use the unified toolbar mode. you can access the sibling inserter between any two blocks. When you have a block selected, and have the block-affixed toolbars, only the sibling inserter below the selected block should be availabl e. Though it should still be keyboard accessible. This PR fixes that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jasmussen, this works correctly in most of the cases. The only case where the problem still exists is if spotlight mode is enabled.
I think the problem happens because in this mode is-selected class is not added.
Great catch, thank you Jorge. Pushed a fix for spotlight mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels like this inserter is not useful in spotlight mode but probably a separate PR
The sibling inserter is the plus you see when you hover between two blocks.
When you have no blocks selected, or use the unified toolbar mode. you can access the sibling inserter between any two blocks.
When you have a block selected, and have the block-affixed toolbars, only the sibling inserter below the selected block should be availabl
e. Though it should still be keyboard accessible.
This PR fixes that.
Before:
After: