Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make the editor switch mode shortcut work from anywhere. #6149
Keyboard users will benefit from being able to switch editor mode at any time, even when editing content. For example, when they edit content in "Code" mode, focus is in a textarea and now they can quickly switch to "Visual" mode and again to "Code" mode and so on just pressing Command (or Ctrl on WIndows) +shift+alt+m.
A further improvement would be trying to keep the caret position in the Code mode in the block being edited, and vice-versa, as recently implemented in the old WordPress editor.