-
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
Toolbar Shortcut (alt + F10) to focus block toolbar from empty block #49778
Comments
@annezazu You have insights into who might be able to work on this? I know @draganescu has done a lot of work around toolbars here lately. Is this possibly related to ongoing work in #49634? |
@alexstine I'm happy to work on it, I was seeking feedback to make sure everyone is OK with this proposed shortcut behavior. I noticed it while working on #49644. I could land this alongside that PR if y'all agree with the behavior change. |
@jeryj Sure, absolutely. I just wanted to make sure we were not duplicating efforts. Ping me when ready, happy to review/test the PR. 👍 |
I looked into this for a bit. I thought it would be an easy fix to make things more readable and consistent, but I'm having a hard time making this work in a way that doesn't cause more problems than it creates. It is a nice hidden feature to know that you can move to the document toolbar if it's from an empty default block, I guess. I'll leave this open for now, but unfortunately I'm not sure how to do this in a simple way that preserves all the current behaviors. |
I think the behavior of the toolbar shortcut would be more consistent if it moved focus into the block toolbar from an empty block in the default view.
For example, here's a table of the current behavior for
alt + F10
(fn + option + F10
on smaller mac keyboard) shortcut in different contexts:If we move focus into the block toolbar from the empty default block, I think it would be more a consistent behavior across all views.
Testing instructions
1. View: Top Toolbar, Block with content
alt + F10
2. View: Top Toolbar, Empty Block
alt + F10
3. View: Default, Block with Content
alt + F10
4. View: Default, Empty Block
alt + F10
Video of Behavior
Screen.Recording.2023-04-12.at.3.20.33.PM.mov
The text was updated successfully, but these errors were encountered: