-
Notifications
You must be signed in to change notification settings - Fork 107
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
Regular pasted URLs (not matcing any activated service) are inserted twice #78
Comments
Yes, I am also facing the same. |
After a thorough inspection, I found that this issue is due to react 18 strict mode. Removing strict mode fixes the issue. Also, try to build the app and check if this fixes in case removing strict mode did not work. In my case, even the editor is getting rendered twice. @Haraldson can you confirm that you faced this issue while using react or not and which version. |
I face(d?) this issue on React 17, so it’s not about React 18. |
Thanks, @Haraldson for me react 17 seems to work fine with strict mode. you can check this repo https://github.com/Walkthroughs/editorjs-with-react |
I paste once. The URL is inserted twice.
That’s it. That’s the entire issue.
The text was updated successfully, but these errors were encountered: