fix: rich editor error type

This commit is contained in:
chansee97 2024-09-26 22:44:44 +08:00
parent 367406258c
commit 308e0b4bf9

View File

@ -21,7 +21,7 @@ onMounted(() => {
initEditor()
})
const editorRef = useTemplateRef<HTMLInputElement>('editorRef')
const editorRef = useTemplateRef<HTMLElement>('editorRef')
function initEditor() {
const options = {
modules: {