feat: add optional new shortcuts for block/workspace navigation - #10090
Merged
Conversation
lizschwab
requested changes
Jun 29, 2026
lizschwab
left a comment
Contributor
There was a problem hiding this comment.
I think we should be using KeyCodes.CTRL_CMD here instead of CTRL and META to be consistent and take advantage of the functionality where we switch based on userAgent.
lizschwab
approved these changes
Jun 29, 2026
lizschwab
left a comment
Contributor
There was a problem hiding this comment.
Changes look good, good to merge once tests pass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The basics
The details
Resolves
Backports the navigation shortcuts from here with changes for v13 APIs
Fixes #9997 while we're at it (for certain problems with full-block fields, did not change behavior for end as per my last comment there)
Updates docs
Proposed Changes
Adds new navigation shortcuts for jumping around to start/end of block/workspace/stack. These are optional and can be installed by calling
Blockly.ShortcutItems.registerNavigationShortcuts()Reason for Changes
missing them from the beta test
Test Coverage
Added tests
Documentation
Added docs
Additional Information