I am working on the Table Editor plugin and attempting to make it so when the cursor is in a table, the Enter and Tab keys have altered behavior. I have successfully done this! However I am unable to get the default Enter behavior when the cursor is not in a table.
Here’s the code I’ve put together to accomplish the key binding.
The problem is that
CodeMirror.Pass does not seem to be functioning correctly as described in the documentation. Here’s the relevant documentation: https://codemirror.net/doc/manual.html#keymaps
Let me know if you have any ideas! Thanks