-
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
Keyboard Shortcut: Clean up shortcut names #51739
Conversation
Size Change: -2 B (0%) Total Size: 1.42 MB
ℹ️ View Unchanged
|
Flaky tests detected in ecd5af1. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5333937671
|
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.
Thank you! No idea why those double slashes are there?
Thanks for the review, @draganescu! This double slash is something I wrote incorrectly before 😄 |
What?
This PR makes the following two changes to shortcuts registered by
registerShortcut
.name
property.name
propertyWhy?
For code quality improvement.
Testing Instructions for Keyboard
There should be no impact on the code, but condfirm that the shortcut for switching between paragraph and heading works in all of the following editors.