-
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
Editor: Unify the region navigation keyboard shortcuts #60907
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: -87 B (0%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
6f07599
to
7f58c76
Compare
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.
LGTM! Let me confirm just two things:
- As reported in #43352, Ctrl + ` does not seem to work on Windows OS. Does it work on MacOS?
- Are these integrations not applicable to the Widget Editor for some technical reason?
Indeed it doesn't seem to work for me either.
The design of the widget editor is very different than site or post editors: It's not about editing one entity, it's about using a specific layout to edit multiple entities at the same time. Which basically means the "@wordpress/editor" abstraction is not well fit for it. That said (and this is just my opinion), I believe we should treat the widget areas just like template parts and move it to the site editor ultimately rather than having a special editor 🤷 |
Related #52632
What?
This unifies the region navigation keyboard shortcuts between the post and site editors. We register these shortcuts in the editor package for now.
Testing Instructions
1- You can use
ctrl + option + n
to navigate editor regions in both post and site editors.