-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Feature] Code EditorHandling the code view of the editing experienceHandling the code view of the editing experience[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
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
- Open a post/page edit page in the backend.
- Click into the editor to get focus.
- Press the keyboard shortcut to switch to the code editor.
- Press the same keyboard shortcut again.
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
Metadata
Metadata
Assignees
Labels
[Feature] Code EditorHandling the code view of the editing experienceHandling the code view of the editing experience[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended