benwinding / quill-image-compress

A Quill rich text editor Module which compresses images uploaded to the editor
https://benwinding.github.io/quill-image-compress/src/demo.html
MIT License
123 stars 30 forks source link

#19 disable logging for warnings and errors if debug is false #20

Closed Laggii closed 3 years ago

Laggii commented 3 years ago

Follow up for https://github.com/benwinding/quill-image-compress/issues/19 If debug is false it will also disable console logging for errors and warnings

benwinding commented 3 years ago

Thanks for the contribution, but I'd rather not suppress errors when debug is not enabled. It would make finding issues much harder.

I've made a fix which should still fix your problem here: #21