-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
ERROR RangeError: Can not convert <> to a Fragment (looks like multiple versions of prosemirror-model were loaded)[Bug]: #552
Comments
Try deleting lockfile and node_modules and re-install again? |
I deleted my node_modules and reinstalled it, but it still doesn't work for me. |
Hello, I encountered the same issue today and noticed this happens only when we select the end of the text. Version : 15.3.0 It looks that Enter adds a I also tried to delete my node_modules and package.lock and reinstall it, but it had no effect EDIT: This happens when pressing Enter at the end of a |
Any update on this? @MaximeOpsommer did you find a workaround? "overrides": {
"prosemirror-model": "1.19.3"
}, |
Updating to |
Nope, my solution was to move to |
I'll add a documentation for this. This is often repeated and happening because of prosemirror transitive dependencies. The only solution is to re-install prosemirror packages so there are no duplication. And make sure its not installed separately or by any other packages. This mostly happens during the package update I guess. |
What happened?
While clicking enter in ngx-editor getting range error in google chrome.
Version
14.2.0
Angular Version
16.2.14
What browsers are you seeing the problem on?
Chrome
Link to reproduce
No response
Relevant log output
No response
Willing to submit a PR?
None
The text was updated successfully, but these errors were encountered: