vue-quill icon indicating copy to clipboard operation
vue-quill copied to clipboard

Unable to add custom modules.

Open Vignesh-M-98 opened this issue 3 years ago • 3 comments

Version @vueup/vue-quill version [e.g. 1.0.0-beta.5]

Describe the bug I have tried the same example but I am getting an error

Expected behavior add of the module

Browser (please complete the following information): chrome

Additional context I am adding the error log here

Uncaught TypeError: Cannot convert undefined or null to object at Function.assign () at composeOptions (vue-quill.esm-bundler.js?93e8:203) at initialize (vue-quill.esm-bundler.js?93e8:131) at eval (vue-quill.esm-bundler.js?93e8:118) at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:154) at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:163) at Array.hook.__weh.hook.__weh (runtime-core.esm-bundler.js?5c40:2909) at flushPostFlushCbs (runtime-core.esm-bundler.js?5c40:357) at render (runtime-core.esm-bundler.js?5c40:5793) at mount (runtime-core.esm-bundler.js?5c40:4081)

Vignesh-M-98 avatar Jul 31 '21 03:07 Vignesh-M-98

I got this error too, here's what fixed it for me:

- <QuillEditor theme="snow" v-model:content="content" :modules="modules" />
+ <QuillEditor theme="snow" v-model:content="content" :modules="modules" toolbar="full" />

Looks like not using toolbar="full" doesn't allow the modules to be added or something...

benwinding avatar Mar 25 '22 03:03 benwinding

Got this error too, and reinstalling the @vueup/[email protected] helped fix it

shangchen0531 avatar Jun 09 '22 03:06 shangchen0531

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 08 '22 04:08 stale[bot]