fix: rich text editor keep alive

This commit is contained in:
张传龙 2022-09-29 16:53:54 +08:00
parent 99ddb4fe70
commit c25476278b

View File

@ -16,6 +16,8 @@
<script setup>
import '@wangeditor/editor/dist/css/style.css'
import { Editor as WangEditor, Toolbar as WangToolbar } from '@wangeditor/editor-for-vue'
defineOptions({ name: 'RichTextEditor' })
const editorRef = shallowRef()
const toolbarConfig = { excludeKeys: 'fullScreen' }
const editorConfig = { placeholder: '请输入内容...', MENU_CONF: {} }