collaborative-editing

RealTime Collaborative Text-Editor in Nodejs & Socket.io

痞子三分冷 提交于 2021-02-06 09:34:07
问题 I am developing a real-time text editor with paragraph locking property similar to https://quip.com/. in socket.io and nodejs . It means when you write onto a given paragraph, other collaborators cant edit it. Moment you hit enter or move cursor to a new line that paragraph becomes Editable for other Collaborators . I am quite stuck after this. I am thinking a nice approach to move further. Suggestions please. Below is my code which works perfectly. Till now i can get list of all

Alternative to retired TogetherJS [closed]

五迷三道 提交于 2020-06-25 03:38:38
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Improve this question Is there a good alternative to TogetherJS? Its GitHub hasn't had any activity for months, and this post says its currently dead with its future uncertain. The feature most unique to TogetherJS as apposed to say, ShareJS, is the ability to see another person's

How does Google Docs deal with editing collisions?

僤鯓⒐⒋嵵緔 提交于 2020-05-24 08:43:05
问题 I've been toying around with writing my own Javascript editor, with functionality similar to Google Docs (allowing multiple people to work on it at the same time). One thing I don't understand: Let's say you've got User A and User B connected directly to each other with a network delay of 10ms. I'm assuming the editor uses a diff system (as I understand Docs does) where edits are represented like "insert 'text' at index 3," and that diffs are timestamped and forced to apply chronologically by

cloud9-ide collaboration in self hosted possible?

旧时模样 提交于 2019-12-07 04:44:16
问题 Is it possible to have the collaboration and workspace sharing features in a self-hosted environment built from https://github.com/ajaxorg/cloud9? 回答1: it is possible with the newer version from https://github.com/c9/core, just pass --collab flag to the server.js script 回答2: The --collab flag activated the "Share" and "Collaborate" buttons for me, but the actual feature doesn't work. When adding a user, I get Error adding workspace member: Cannot POST /api/collab/0/members/add?silent=false