Skip to content

Commit

Permalink
FEATURE: Autosaving a memo when it is edited
Browse files Browse the repository at this point in the history
This feature deals with issues #99 and #104
  • Loading branch information
christophe-lejeune committed Jul 15, 2020
1 parent 4405fb0 commit ba8d63b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/templates/editable_memo.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ <h1> <img src="../style/{{type}}.svg"/> {{name}}</h1>
element: $("#body")[0],
showIcons: ["table"],
hideIcons: ["quote"],
autosave: {
enabled: true,
uniqueId: "{{_id}}",
delay: 1000,
},
placeholder: placeHolder["{{type}}"]["content"],
spellChecker: false
});
Expand Down

0 comments on commit ba8d63b

Please sign in to comment.