Add saving task title with ctrl+enter
This commit is contained in:
parent
f3ec9be8e5
commit
6d4ac2f2b6
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
#{{ task.id }}
|
||||
</h1>
|
||||
<div class="is-done" v-if="task.done">Done</div>
|
||||
<h1 class="title input" contenteditable="true" @focusout="saveTaskOnChange()" ref="taskTitle">{{ task.text }}</h1>
|
||||
<h1 class="title input" contenteditable="true" @focusout="saveTaskOnChange()" ref="taskTitle" @keyup.ctrl.enter="saveTaskOnChange()">{{ task.text }}</h1>
|
||||
</div>
|
||||
<h6 class="subtitle">
|
||||
{{ namespace.name }} >
|
||||
|
|
Loading…
Reference in a new issue