mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-27 09:00:57 +00:00
Fix other CodeMirror.Pass usage
This commit is contained in:
parent
9418e446b1
commit
42ac80eb0e
1 changed files with 3 additions and 3 deletions
|
@ -2906,19 +2906,19 @@ $(editor.getInputField())
|
||||||
$(this).data('autocompleting', true);
|
$(this).data('autocompleting', true);
|
||||||
editor.setOption("extraKeys", {
|
editor.setOption("extraKeys", {
|
||||||
"Up": function () {
|
"Up": function () {
|
||||||
return CodeMirror.PASS;
|
return CodeMirror.Pass;
|
||||||
},
|
},
|
||||||
"Right": function () {
|
"Right": function () {
|
||||||
editor.doc.cm.execCommand("goCharRight");
|
editor.doc.cm.execCommand("goCharRight");
|
||||||
},
|
},
|
||||||
"Down": function () {
|
"Down": function () {
|
||||||
return CodeMirror.PASS;
|
return CodeMirror.Pass;
|
||||||
},
|
},
|
||||||
"Left": function () {
|
"Left": function () {
|
||||||
editor.doc.cm.execCommand("goCharLeft");
|
editor.doc.cm.execCommand("goCharLeft");
|
||||||
},
|
},
|
||||||
"Enter": function () {
|
"Enter": function () {
|
||||||
return CodeMirror.PASS;
|
return CodeMirror.Pass;
|
||||||
},
|
},
|
||||||
"Backspace": function () {
|
"Backspace": function () {
|
||||||
editor.doc.cm.execCommand("delCharBefore");
|
editor.doc.cm.execCommand("delCharBefore");
|
||||||
|
|
Loading…
Reference in a new issue