How To Use Custom Quill Modules - both ways result in error
See original GitHub issueHi,
Following the README > How To Use Custom Quill Modules gives
Uncaught TypeError: Cannot read property 'imports' of undefined
at Object.eval (image-resize.min.js?f318:1)
Found this issue reported in quill too. A solution mentioned there was to add this to webpack config:
new webpack.ProvidePlugin({
'window.Quill': 'quill'
})
Is this really required? If so, how to add it to vue.config.js?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Error: The given range isn't in document #1940 - quilljs/quill
Click into the text area to focus the editor. Select all text with Ctrl-A . Remove selected text with Del . The document...
Read more >Trying to initialize Quill with specific formats and getting an error
If I comment out the format key, it works. @editor = new Quill(@find('.quill-editor'), formats: ['bold'] modules: placeholder: text: "Enter Text ...
Read more >How to use the quill.register function in quill - Snyk
Define custom inline blot for find highlighting const Inline = Quill.import('blots/inline'); class HighlightBlot extends Inline {} HighlightBlot.
Read more >Building a Custom Module - Quill Rich Text Editor
For the purpose of this guide, we will walk through one way to build a word counter module, a commonly found feature in...
Read more >Quill
quill example ... Quotations are both compile-time and runtime values. Quill ... It's possible to override this default behavior using a custom schema...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the some problem.
Try import
image-resize
fromquill-image-resize-vue
Note: quill-image-resize-vue
Same problem here. I can’t used the custom modules.