mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Implements automatic saving of notes. Issue #40
This is disabled by default and is saved within each browser as localStorage. Always you can cancel the edit with Esc key. On the other hand, now also allows you save the notes with Crl+Enter key, which is more standard.
This commit is contained in:
@@ -64,10 +64,7 @@
|
||||
<div class='note-shares'></div>
|
||||
<div class='note-tags'></div>
|
||||
</div>
|
||||
<div class="note-options">
|
||||
<!--
|
||||
<select class="note-share-select" name="users[]" multiple="multiple"></select>
|
||||
-->
|
||||
<div class="note-editable-options">
|
||||
<div class="colors-toolbar">
|
||||
<button id='color-button' class='round-tool-button'>
|
||||
<div class="icon-toggle-background" title="{{t "quicknotes" "Colors"}}"></div>
|
||||
@@ -89,10 +86,11 @@
|
||||
<button id='save-button'>
|
||||
{{ saveTxt }}
|
||||
</button>
|
||||
<button id='close-button'>{{t "quicknotes" "Close"}}</button>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<div class="note-disable-options">
|
||||
<div class="note-noneditable-options">
|
||||
<div class="buttons-toolbar">
|
||||
<button id='close-button'>{{t "quicknotes" "Close"}}</button>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
<p class="app-settings">
|
||||
<input id="explicit-save-notes" type="checkbox" class="checkbox">
|
||||
<label for="explicit-save-notes">{{t "quicknotes" "When editing notes show the save and cancel buttons to save them explicitly"}}</label>
|
||||
</p>
|
||||
<div>
|
||||
<label>{{t "quicknotes" "Default color for new notes"}}</label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user