quill-image-resize-module icon indicating copy to clipboard operation
quill-image-resize-module copied to clipboard

Unnecessary console.log in image-resize.min.js

Open amaneer94 opened this issue 5 years ago • 1 comments

amaneer94 avatar Oct 25 '19 15:10 amaneer94

As there is still no new release that gets rid of this, I found a temporary solution to this problem:

  1. Goto the 'quill-image-resize-module' package in your node_modules
  2. In there there is a js file called 'image-resize.min.js'
  3. click on it and you should see obfuscated code, just Ctrl+F and search for 'this.options.modules'. You should find a console.log that prints the options. Now just remove it and save the 'image-resize.min.js' file

Now you shouldn't get the console.log of the options again :)

Mo-MR-123 avatar Feb 10 '20 12:02 Mo-MR-123