Error on copying and pasting list items

My company is using Prosemirror to create a collaborative editor. When a list item is copied from a list within the draft and pasted into an empty paragraph, the view throws an error that seems to be related to Prosemirror. However, when a list item is copied from outside the draft and pasted into a empty paragraph, it seems to work just fine. Additionally, merging list items into existing lists also seems to work fine.

Perhaps there’s an issue with the schema or the way parent nodes are handled? Not sure. Have attached a snapshot of the error below: Screen Shot 2022-04-26 at 9.24.16 PM

Doesn’t point at anything obvious. If you can reduce it to the minimal (self-contained) script needed to trigger this, I can see if I can debug it.

1 Like