notes: allow ctrl+enter to save note.
Pressing Ctrl+Enter inside the note edit box will save the note.
This commit is contained in:
@@ -597,6 +597,7 @@ class Note {
|
||||
"ui-dialog": "note-edit-dialog",
|
||||
},
|
||||
open: () => {
|
||||
Utility.keydown("ctrl+return", "save_note", () => this.save($dialog, note), ".note-edit-dialog textarea");
|
||||
$(".note-box").addClass("editing");
|
||||
},
|
||||
close: () => {
|
||||
|
||||
Reference in New Issue
Block a user