Skip to content
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

frequent data loss in flat list #195

Open
zhangzhangwenwen opened this issue Dec 20, 2023 · 3 comments
Open

frequent data loss in flat list #195

zhangzhangwenwen opened this issue Dec 20, 2023 · 3 comments

Comments

@zhangzhangwenwen
Copy link

zhangzhangwenwen commented Dec 20, 2023

This kind of situation is very rare. I have also been trying to reproduce it. The most probable scenario to reproduce it is by inserting a list (prosemirror-flat-list) into a table (prosemirror-tables) and edit in the list. We use y-indexdb in our project and the latest version of y-prosemirror
version:
y-prosemirror v1.2.1
yjs v13.5

@ocavue
Copy link
Owner

ocavue commented Dec 20, 2023

The issue is unclear. Please provide a minimal reproduction.

@zhangzhangwenwen
Copy link
Author

The issue is unclear. Please provide a minimal reproduction.

When a list (prosemirror-flat-list) is nested inside a table (prosemirror-tables), y-prosemirror(maybe yjs) may delete the table cell in certain scenarios.

@ocavue
Copy link
Owner

ocavue commented Dec 26, 2023

If you could provide a Git repo, or a CodeSandbox/Stackblitz link etc. to reproduce this issue, I would love to take a look into this issue. You can start with the stackblitz link in the README of prosemirror-flat-list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants