For accessibility we’d like tab and shift-tab to leave CodeMirror unfocused and go to the next/previous field in the form containing CM. How can I do that? Thanks
Add an option like this:
extraKeys: {Tab: false, "Shift-Tab": false}
I keep trying to get tabs to focus on the CodeMirror Editor but it keeps shifting to other focusable elements, here is a link to what I mean: https://codepen.io/okikio/pen/NWjzyRG?editors=0010
-
Your question has nothing to do with this thread (except also relating to the tab key). Please just start a fresh topic next time.
Sorry about that. I have created a new topic, here is the link: The keymap defaultTabBinding doesn't work.