1
0

fix(editor): make initial editor mode (preview/edit) work

This commit is contained in:
kolaente
2023-11-18 16:54:29 +01:00
parent fa269f155a
commit 6c4f1e1cbf
2 changed files with 3 additions and 4 deletions

View File

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