BitPhinix / slate-yjs

Yjs binding for Slate
https://docs.slate-yjs.dev
MIT License
514 stars 73 forks source link

Path doesn't match yText, yTarget spans multiple nodes #354

Closed karthikcodes6 closed 2 years ago

karthikcodes6 commented 2 years ago

I'm getting this error quite often nowadays, any idea what could be the source?

BitPhinix commented 2 years ago

Is there any specific scenario/conditions where it occurs for you?

karthikcodes6 commented 2 years ago

I'm using slate-yjs with platejs I'm getting this error while pasting content from outside into the editor. I'll try to reproduce the issue with a codesandbox. But do you have any clue why this might happen?

BitPhinix commented 2 years ago

Did you manage to reproduce this in a codesandbox?

BitPhinix commented 2 years ago

Closing this for now, feel free to re-open if it persists or you have more details