Pressing enter in a note title moves cursor to end of note.
This commit is contained in:
parent
1600bd132c
commit
795f1b7d76
@ -45,7 +45,7 @@
|
||||
ref="titleTextarea"
|
||||
v-on:keyup="titleResize"
|
||||
v-on:keydown="titleResize"
|
||||
@keydown.enter.exact.prevent="editor.focus()"
|
||||
@keydown.enter.exact.prevent="editor.focus(); editor.moveCursorToEnd()"
|
||||
rows="1"
|
||||
:style="{ 'background-color':styleObject['noteBackground'], 'color':styleObject['noteText']}"
|
||||
v-on:blur="save" type="text" v-model="noteTitle" placeholder="Title" class="stealth-input">
|
||||
|
Loading…
Reference in New Issue
Block a user