codemirror / dev

Development repository for the CodeMirror editor project
https://codemirror.net/
Other
5.71k stars 363 forks source link

Design and implement a recommended collab mechanism #163

Closed marijnh closed 4 years ago

marijnh commented 4 years ago

(And make the history plugin work well with it.)

I'm leaning towards a ProseMirror-like centralized OT approach, which would be quite simple for a plain-text system like this. But should take another look at some alternatives.

curran commented 4 years ago

I've done a preliminary integration with ShareDB some time ago that was promising. That uses JSON0 OT. ShareDB feels to me like a pretty solid OT solution.

See also:

marijnh commented 4 years ago

Thanks for the links!

marijnh commented 4 years ago

This is present, using a mechanism very similar to ProseMirror's, because that seemed the most practical, compared to the various CRDT and full-OT alternive approaches. The library should be flexible enough to allow people to wire it up to other implementations.