1
0

feat(editor): edit mode

This commit is contained in:
kolaente
2023-10-22 12:08:27 +02:00
parent 632e3c5a0b
commit d7503dc4a2
3 changed files with 55 additions and 10 deletions

View File

@ -82,6 +82,7 @@
}"
:bottom-actions="actions[c.id]"
:show-save="true"
initial-mode="preview"
/>
</div>
</div>

View File

@ -25,6 +25,7 @@
v-model="task.description"
@update:model-value="saveWithDelay"
@save="save"
:initial-mode="task.description === '' ? 'edit' : 'preview'"
/>
</div>
</template>