chore: clean up

This commit is contained in:
Anthony Fu 2023-03-15 13:55:04 +01:00
parent 6d0cbd2914
commit 98bc861fab

View file

@ -284,16 +284,11 @@ defineExpose({
<div relative flex-1 flex flex-col> <div relative flex-1 flex flex-col>
<template v-if="settings.editorMode === 'markdown'"> <template v-if="settings.editorMode === 'markdown'">
<textarea <textarea
ref="textareaEl" ref="textareaEl"
v-model="markdown" v-model="markdown"
bg-base font-mono outline-none border-none resize-none bg-base font-mono outline-none border-none resize-none
:class="editorClass" :class="editorClass"
/> />
<div text-sm flex="~ gap-1" items-center op50 mb--3 mt-2>
<div i-ri:markdown-line />
{{ $t('state.markdown_editor') }}
</div>
</template> </template>
<EditorContent <EditorContent
v-else v-else