-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
HN brought up the issue of paragraph locking and whether it should be replaced by full-on OT-style collaboration. It probably should.
The best library for that seems to be Yjs, but it's not entirely trivial to implement in Firetext. TODO:
- Find out how to sync and bind the entire html document (including attributes) instead of just its children (as Y.XmlFragment does).
- Find out how to deal with pre-existing content (before you start collaborating) that all collaborators have. Possibly related to y.val('something').getDom() !== yxml.getDom() causing fail in syncing y-js/y-xml#3.
- Re-implement encryption on top of y-websockets-client
- Re-implement "smart scrolling" (text not jumping when someone edits above you). y-xml already has it for when text nodes change, it just has to be extended for when elements' children are added/removed, I think.
- Re-implement highlighting of paragraphs that you and others are typing in, and/or implement showing other people's cursors.
- Fix undo/redo (UndoManager adding extra characters to y-xml yjs/yjs#86, UndoManager with two people editing the same sentence in y-xml yjs/yjs#87).
Reactions are currently unavailable