Fix editor shortcuts in Nav Menus page.#21338
Conversation
|
Size Change: +4 B (0%) Total Size: 884 kB
ℹ️ View Unchanged
|
tellthemachines
left a comment
There was a problem hiding this comment.
Testing this on Chrome/Mac, I'm seeing a few shortcuts that don't work:
- Save changes
- Undo changes
- Insert new block before selected
- Insert new block after selected
- When focused on the block in edit mode, Shift + Tab doesn't take me to the toolbar. It seems the only way to access the toolbar is with Option + F10.
Question: we wouldn't expect to be able to switch to code editor mode, would we?
|
@tellthemachines Yep, I think there are a few separate issues we'll have to fix, some separately:
I don't think that'd be possible, since these menus don't save as HTML. |
If it's easy, go for it. If not, let's follow up on it later 🙂
I don't think we need undo/redo for our initial build of this screen. Remember, right now our goal is to build out something quick that lets us validate whether or not a block-based Navigation screen is a good idea. |
|
Thanks, working on the save shortcut in a separate PR. |
Description
Renders the
BlockEditorKeyboardShortcutscomponent to ensure editor keyboard shortcuts work in the nav menus page.How has this been tested?
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist: