1
0

Add discardShortcutEnabled setting to opt into this feature

Only editing the task description and comments have this feature enabled
This commit is contained in:
Elscrux
2024-04-26 17:22:02 +02:00
parent 6ad8ce8f44
commit 308a98c876
3 changed files with 22 additions and 13 deletions

View File

@ -85,6 +85,7 @@
:upload-enabled="true"
:bottom-actions="actions[c.id]"
:show-save="true"
:discard-shortcut-enabled="true"
initial-mode="preview"
@update:modelValue="
() => {

View File

@ -30,6 +30,7 @@
:placeholder="$t('task.description.placeholder')"
:show-save="true"
edit-shortcut="e"
:discard-shortcut-enabled="true"
@update:modelValue="saveWithDelay"
@save="save"
/>