Editor loses focus after keyboard shortcut to switch to code editor #42145
Labels
[Feature] Code Editor
Handling the code view of the editing experience
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Type] Bug
An existing feature does not function as intended
Description
If I swith to the code editor via keyboard shortcut, I cannot switch right back afterwards via keyboard shortcut, since the editor loses the focus. I need to click inside the code editor to switch back to the visual editor.
If the more menu is open on the upper right corner of the editor, I can switch between both editors with keyboard shortcuts every time.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.0
No Gutenberg plugin installed
Safari 15.5
macOS 12.4
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: