BUG fix: Super expression must either be null or a function, not undefined
This commit is contained in:
parent
ea2dbd239a
commit
130332deba
|
@ -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
1
src/types/quill-blot-formatter.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
declare module 'quill-blot-formatter/dist/BlotFormatter'
|
Loading…
Reference in a new issue