-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
BUG: Cannot read properties of undefined (reading 'uploadFile') #3986
Comments
@artf I have tested with old versions below 22 everything is fine , but from version 25, 26, 27, 28, 29 there is this bug when u drag and drop a custom plugins which cotains an image , if you remove the image the error is gone , Please check this, thanks a lot brother |
Agreed that resolve the issue @artf is this the right aproach to this bug ? |
Hi guys, |
Hii, I added |
|
Yeah I'll actually fix that in the next release with the same approach 828e64b |
@markovic-nikola This Is REALLY IMPORTANT. SUPER THANKS. :D |
I have the same problem https://prnt.sc/25uumtx |
In my case, reinstall grapesjs to 0.17.29 |
A rare use-case I know, but the pointer-events fix will not stop the bug if a user drags an image from their OS into the canvas. I've just had to downgrade for now but this shouldn't be closed |
@artf I am still facing this issue. Getting same error whenever I tried to drag and drop image from my pc to canvas. Is there any temporary fix for this yet? |
@omergr8 I see no issues on the official demo, so if you believe the problem is still there, please open a new issue with a reproducible demo. |
@omergr8 I think it's the same situation I've been through
What I wanted to emphasize is this. In my case, so, I think this issue is related to not only CSS, but also browser functionality. literally whole browser. as @markovic-nikola said how about try to install If the error is the same, I think you need a different approach. 🤔 |
@luasenvy this is why I always ask for a reproducible demo because people do not realize they're running behind a cached file |
GrapesJS version
What browser are you using?
Chrome v96.0.4664.45
Reproducible demo link
https://codesandbox.io/s/react-redux-toolkit-application-forked-l5rhp?file=/src/pages/Editor.js
Describe the bug
How to reproduce the bug?
What is the expected behavior?
Drag and drop the logo to canvas
What is the current behavior?
I have created a simple custom plugin just a logo , now when I drag and drop to canvas I get the following error
Cannot read properties of undefined (reading 'uploadFile')
If is necessary to execute some code in order to reproduce the bug, paste it here below:
@artf What am I doing wrong here?
Code of Conduct
The text was updated successfully, but these errors were encountered: