Open manasvi2001 opened 3 years ago
do not use import BlotFormatter from 'quill-blot-formatter' use import BlotFormatter from 'quill-blot-formatter/dist/BlotFormatter';
do not use import BlotFormatter from 'quill-blot-formatter' use import BlotFormatter from 'quill-blot-formatter/dist/BlotFormatter';
It's a solution, but can you tell me why?
very strange. i use vite, in development no error shows, but in production it occur.
我也是遇到这个问题
en:yes . use vite dev no error , use vite build and preview is error zh-cn: 使用vite 开发模式,不会报错。打包也通过type-check 后 dist 部署,就会报错 en:This This problem led me to check for a long time zh-cn:这个问题 导致我 查了很久很久 en:This function of changing the image size is very important. Why don't you integrate it by yourself? You have to use plug-ins zh-cn:这个改变图片大小功能很重要,为什么官方不自己集成呢,非要用插件 last, thankyou
@xiaozuojiushizuoxiao can you create a fork and we work on it together?
@xiaozuojiushizuoxiao I have had the same problem. I tried this but I am getting the config wrong. If you can configure it properly and show me that will be nice
@Nelwhix Sorry to try other plug-ins
@xiaozuojiushizuoxiao If you find any good ones, please send here thanks
@Nelwhix Okay, you too
This is my code to integrate quill-blot-formatter with vue-quill but I am getting this console error. I followed this reference: https://vueup.github.io/vue-quill/guide/modules.html#example
Am I missing something in configuration or is it really an issue?
Some additional info from my debugging: On putting breakpoints in
quill-blot-formatter.js
I found in this line,this.options = deepmerge(DefaultOptions, options, { arrayMerge: dontMerge });
DefaultOptions
is not getting populated and coming asundefined
for me.I installed
quill-blot-formatter
usingnpm
. The version I am using is:"quill-blot-formatter": "1.0.5"