This repo shows a basic starting point for collaborative editor using Express, Socket.IO and Slate.
- Server code can be found at /server/index.js
- Client code can be found at /src/Client.js
Running example: https://slate-collaboration.herokuapp.com/
- This is only a naive initial setup without any conflict resolution so clients do get out of sync or crash if there's enough activity.
- Slate annotations bug ianstormtaylor/slate#2797
- Slate annotations bug ianstormtaylor/slate#2766
- Annotations don't show at the start of a block node
In the project directory, you can run:
Runs the client app in the development mode.
Open http://localhost:3000 to view it in the browser.
Builds the app for production to the build folder.
Starts the socket.io server and serves files from build folder
This project was bootstrapped with Create React App.