Sending Active element from all clients to server

32 Views Asked by At

Lets say i have a collaborative text-editor.

Collaborator A writing on a paragraph A.

Collaborator B writing on a paragraph B.

Collaborator C writing on a paragraph C.

I want to send active element of A,B,C (element focused) to server and emit it to all client.

Need help.

1

There are 1 best solutions below

1
On

There is much information about this on the internet.

You can try to complete a tutorial of chat with socket.io: http://socket.io/get-started/chat/

Here another project: https://github.com/laktek/realie