diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-01-16 12:50:13 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-01-16 14:09:04 +0300 |
commit | d9555335e271ee0509d43197cccddcefc966a21a (patch) | |
tree | 99fa70e19fa1284e7c044127957ac6bbcab8fb3b /src | |
parent | d457bd99b9ad61e70096f7715630472c8f38e6ae (diff) |
Fix editing plain text files with direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/views/DirectEditing.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/DirectEditing.vue b/src/views/DirectEditing.vue index f4010b528..da46c8dac 100644 --- a/src/views/DirectEditing.vue +++ b/src/views/DirectEditing.vue @@ -25,7 +25,7 @@ <EditorWrapper ref="editor" :initial-session="initialSession" :active="true" - mime="text/markdown" + :mime="initial.mimetype" :is-direct-editing="true" @ready="loaded"> <template #header> |