mirror of
https://github.com/status-im/codimd.git
synced 2025-02-17 08:57:19 +00:00
Fix other CodeMirror.Pass usage
This commit is contained in:
parent
9418e446b1
commit
42ac80eb0e
@ -2906,19 +2906,19 @@ $(editor.getInputField())
|
||||
$(this).data('autocompleting', true);
|
||||
editor.setOption("extraKeys", {
|
||||
"Up": function () {
|
||||
return CodeMirror.PASS;
|
||||
return CodeMirror.Pass;
|
||||
},
|
||||
"Right": function () {
|
||||
editor.doc.cm.execCommand("goCharRight");
|
||||
},
|
||||
"Down": function () {
|
||||
return CodeMirror.PASS;
|
||||
return CodeMirror.Pass;
|
||||
},
|
||||
"Left": function () {
|
||||
editor.doc.cm.execCommand("goCharLeft");
|
||||
},
|
||||
"Enter": function () {
|
||||
return CodeMirror.PASS;
|
||||
return CodeMirror.Pass;
|
||||
},
|
||||
"Backspace": function () {
|
||||
editor.doc.cm.execCommand("delCharBefore");
|
||||
|
Loading…
x
Reference in New Issue
Block a user