Upgrading prosemirror-view from 1.9.10 to 1.28.3 #1362
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi Prosemirror team, this isn't really an issue but we're looking for guidance on how we can make a significant upgrade to our current
prosemirror-view. We are currently running prose-mirror version 1.9.10 but we want to upgrade to 1.28.3 to resolve this issue However, this upgrade causes this error InvalidStateError: extend() requires a Range to be added to the SelectionThe error we get from upgrading prosemirror is the following:

This happens when trying to perform any event in the editor e.g key events, paste events, etc.
This is the stack trace we get back in rollbar after the upgrade:
The other prosemirror libraries we are using:
Have you checked if npm didn't duplicate packages? That often happens when you upgrade—clearing the package lock and reinstalling usually resolves it.