question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

quill Overwriting modules/imageResize with

See original GitHub issue

Hi all,

i am getting this warning message with my nuxt implementation:

quill Overwriting modules/imageResize with ƒ t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),this.initializeModules=function(){n.removeModules(),n.modules=n.moduleClasses.map(function(t){return new(l[t]||t)…

nuxt.config.js

  build: {
  plugins: [
      new webpack.ProvidePlugin({
        'window.Quill': 'quill/dist/quill.js',
        'Quill': 'quill/dist/quill.js'
      })
    ],
}
import Quill from 'quill'
import VueQuillEditor from 'vue-quill-editor'
import ImageResize from 'quill-image-resize-module'
Quill.register('modules/imageResize', ImageResize)

import {ImageDrop} from 'quill-image-drop-module'
Quill.register('modules/imageDrop', ImageDrop)

How to get rid of it?

KR

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

6reactions
ghostcommented, Oct 14, 2021

Comment Out The Following:

Quill.register('modules/imageResize', ImageResize)

And

Quill.register('modules/imageDrop', ImageDrop)
0reactions
cvaluescommented, Dec 7, 2022

seems to work now…thanks alot!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ngx-quill and Quill resize module breaking Jasmine tests
I stumbled across a fix after reading this github post. Instead of importing Quill I imported QuillNameSpace and defined Quill as ...
Read more >
quill-image-resize-module - npm
A module for Quill rich text editor to allow images to be resized.. Latest version: 3.0.0, last published: 6 years ago.
Read more >
quill-image-resize-module - npm package - Snyk
A module for Quill rich text editor to allow images to be resized. For more information about how to use this package see...
Read more >
quill-image-resize-module - Bountysource
A module for Quill rich text editor to allow images to be resized. Become a Bounty Hunter
Read more >
How to Customize Quill - Quill Rich Text Editor
Quill is designed with a modular architecture composed of a small editing core, surrounded by modules that augment its functionality. Some of this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found