You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm struggling here a bit. CodeMirror has a ton of methods defined on it that cannot be accessed via config. One thing CM does is intercept ctrl+s action which means that whenever I try to register the hotkey using another module, the event, for some reason, doesn't bubble up.
So instead, I want to use the CodeMirror.commands and register a save method. Is there any way to get an instance of CodeMirror back after giving it a config so that these things can be accessed?
The text was updated successfully, but these errors were encountered:
I'm struggling here a bit. CodeMirror has a ton of methods defined on it that cannot be accessed via config. One thing CM does is intercept
ctrl+s
action which means that whenever I try to register the hotkey using another module, the event, for some reason, doesn't bubble up.So instead, I want to use the
CodeMirror.commands
and register asave
method. Is there any way to get an instance of CodeMirror back after giving it a config so that these things can be accessed?The text was updated successfully, but these errors were encountered: