/slate-ottype

ShareDB OTType for SlateJS

Primary LanguageJavaScriptMIT LicenseMIT

slate-ottype

This repository is an attempt to supply SlateJS with real-time collaboration through operational transformation using ShareDB and a custom ottype.

Install

Run

    npm install

How to start

To start the demo slate with a server. Run the following two commands.

    npm start
    npm run server

Run tests for transformations using fuzzer at src/ot/test/

    node -r esm fuzzer.js

Folder structure

/src/ot/ folder contains all the code needed for operational transformation.

Short introduction to operational transformation and ShareDB.

Please see this short PDF.