-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quill Resize Module Error on Try to Delete Image Next Js #143
Comments
Adding |
Hi, sorry I'm late. webpack: (config, options) => { Also don't forget to import 'webpack' in the beginning like this: |
this works but can you explain why this works and what caused the issue |
in Reactjs, you set: |
I am also facing this issue for this version "react-quill": "^2.0.0", Cannot read properties of undefined (reading 'find') |
Im using React-Quill with React-quill-resize-module for resizing the image. All functionality was fine until i want to remove image from the editor. When i press delete button on my image (try to remove the image from the editor), it resulting an error like this
error message:
Call Stack HTMLDocument.checkImage node_modules\quill-image-resize-module-react\image-resize.min.js (1:15098)
Here's my editor component code:
This is how i import the editor in my page:
My assumptions was it has to be SSR problems, because when i read the quill-resize-module code, it try to access window.quill in checkImage functions. However im not sure enough about this, but im very thankful if there is any advice to resolve this error!
The text was updated successfully, but these errors were encountered: