humandx / slate-automerge

Collaborative Editing using Slate and Automerge
MIT License
121 stars 17 forks source link

Add list/sublist functionality to Slate automerge #1

Closed vshia closed 6 years ago

vshia commented 6 years ago

Add list/sublist functionality to Slate-Automerge example.

If one client edits a sub-list and another client moves the same sub-list (hit [TAB]), then one of the clients will be chosen as the "winner" and the other client's changes will be eliminated. This is because the way we handle [TAB] or just moving nodes in general is by deleting and inserting a node.

One TODO for later is to handle moving of a node.