Open
Description
Is your feature request related to a problem? Please describe.
- In the current implementation, the message received via socket connection is set as a value for the editor as well. There is no conflict resolution strategy.
- For example:-
If one user types "foo" in front of "bar" and the other types "baz" after "bar" at the same time, you will notice inconsistencies.
To handle this we need some kind of conflict resolution strategy. - Demo Link
Describe the solution you'd like
- There are two well-known conflict resolution algorithms that are operational transformation and CRDT.
- Operational Transformation
- CRDT
Motivation
- Resolving conflicts in the editor to maintain consistency for all the participants of a room.
Are you willing to contribute to this issue?
- Yes
Describe alternatives you've considered
- These are the only conflict resolution algorithms I know of. Personally, I cant see an alternative.
Additional context
- I would like to work on this issue. I have implemented Operational Transformation previously.
- Can you please assign this issue to me?
- This is a major change and I would suggest discussing it beforehand.