Skip to content

Commit ecb2382

Browse files
authored
Link to fix for Quill is defined error in modules
When trying to use a Quill module from Nuxt/SSR that itself uses Webpack, you must define Quill and window.Quill as Webpack plugins for the module to be able to find Quill. The linked to issue contains instructions and a fix. It also shows a different way to include Quill without SSR in a Nuxt app that allows use of the quill-editor component instead of a div.
1 parent ea932f4 commit ecb2382

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ Quill.register('modules/yourQuillModule', yourQuillModule)
231231
- [Option to insert an image from a URL](https://github.com/quilljs/quill/issues/893)
232232
- [How vue-quill-editor combine with the syntax highlighter module of highlight.js](https://github.com/surmon-china/vue-quill-editor/issues/39)
233233
- [配合 element-ui 实现上传图片/视频到七牛 demo](https://github.com/surmon-china/vue-quill-editor/issues/102)
234+
- [How to fix “Can’t find variable: Quill”, “Quill is undefined”, “window.Quill is undefined” errors when trying to use Quill modules that use Webpack in Nuxt/SSR](https://github.com/surmon-china/vue-quill-editor/issues/171#issuecomment-370253411)
234235

235236

236237
## Quill documents

0 commit comments

Comments
 (0)