BUG fix: Super expression must either be null or a function, not undefined

This commit is contained in:
KUN1007 2023-09-18 22:58:38 +08:00
parent ea2dbd239a
commit 130332deba
2 changed files with 4 additions and 1 deletions

View file

@ -5,7 +5,9 @@
// 引入编辑器 // 引入编辑器
import { QuillEditor } from '@vueup/vue-quill' import { QuillEditor } from '@vueup/vue-quill'
// 引入 quill module: for resizing and realigning images and iframe video // 引入 quill module: for resizing and realigning images and iframe video
import BlotFormatter from 'quill-blot-formatter' // 这里必须这么引入,不然打包之后会报错
// import BlotFormatter from 'quill-blot-formatter'
import BlotFormatter from 'quill-blot-formatter/dist/BlotFormatter'
// 引入 module: URL、邮箱 自动识别 // 引入 module: URL、邮箱 自动识别
import MagicUrl from 'quill-magic-url' import MagicUrl from 'quill-magic-url'
// 引入 module: mention // 引入 module: mention

1
src/types/quill-blot-formatter.d.ts vendored Normal file
View file

@ -0,0 +1 @@
declare module 'quill-blot-formatter/dist/BlotFormatter'