How to track user attribution for changes in slate-yjs #427
Unanswered
KentonParton
asked this question in
Q&A
Replies: 1 comment
-
It would need custom handling, although this shouldn't be too hard - yjs keeps track of which client id caused a specific change as part of its conflict resolution, so it already has "attribution". So you would just need to store which client id belongs to which user (and do some custom handling to ensure updates for each corresponding client id are only submitted by the associated userids). I did this for someone before but forgot the implementation details - I'm kind of out of the yjs world atm. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there! 👋
I'm working on a collaborative editing project using slate-yjs with the Plate editor, and I could use some guidance on tracking user contributions.
What I'm trying to do:
I need to keep track of which user made what changes in the document - basically knowing who wrote or edited each piece of content. This would be super helpful for comparing versions and seeing who made specific changes.
Current setup:
The tricky part:
I'm not quite sure how to:
What else:
Any tips or pointers would be really appreciated!
Thanks in advance! 🙏
Beta Was this translation helpful? Give feedback.
All reactions