collaborative-ace
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Ace editor collaborative editing binding

Makes a plain Ace editor instance collaborative by binding it to a JSON CRDT document str node. This allows multiple users to edit the same document json-joy JSON CRDT document concurrently through the Ace editor.

Usage

Installation:

npm install json-joy ace-builds collaborative-ace

Usage:

import {bind} from 'collaborative-ace';
import {Model} from 'json-joy/es2020/json-crdt';

// ...

const unbind = bind(str, editor);

// When done, unbind the binding.
binding.unbind();

Preview

Package Sidebar

Install

npm i collaborative-ace

Weekly Downloads

1

Version

1.0.0

License

none

Unpacked Size

10.7 kB

Total Files

8

Last publish

Collaborators

  • streamich