I’m able to set up Tab and Shift and other keys but I’m having a ton of trouble with Enter. I’m not seeing anywhere where I can put “extraKeys” either (I’m asusming that’s a CodeMirror 5 option). How do I capture the Enter key?
What did you try? Binding Enter in a keymap should just work, exactly the same as the other keys.
It’s not working.
keymap.of([
{
key: “Enter”,
The issue was that I needed to use Prec.highest
…