IssueRaiser

Collaborative Editing

It would be great if this library exposed abstractions required for collaborative editing. One way to do this would be to expose an event handler that, instead of emitting the entire new state, emitted a transaction object that described how the state changed. An implementer would then need to have a collaborative data model, which would then ingest the transaction objects. Another way would be for Draft.js to represent its state using a collaborative data model (CRDT for example), and be able to both emit and ingest transactions. This would obviously be a lot harder.

Posted by simonlast on Feb 25, 2016, 10:35 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.5,000 issues0 comments

github (Other)

Collaborative Editing

simonlastFeb 25, 2016, 10:35 PM

It would be great if this library exposed abstractions required for collaborative editing. One way to do this would be to expose an event handler that, instead of emitting the entire new state, emitted a transaction object that described how the state changed. An implementer would then need to have a collaborative data model, which would then ingest the transaction objects. Another way would be for Draft.js to represent its state using a collaborative data model (CRDT for example), and be able to both emit and ingest transactions. This would obviously be a lot harder.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue