@sofereditor/core
v0.3.1
Published
@sofereditor/core — Y.js-backed document model: blocks, marks, commands, history. Framework-agnostic foundation of the Sofer editor.
Maintainers
Readme
@sofer/core
Y.js-backed document model for the Sofer editor.
Framework-agnostic engine: blocks, marks, commands, history. The document is a Y.Doc — collaboration converges through CRDT, not through diffs.
npm install @sofer/core yjsimport { EditorDocument } from '@sofer/core';
const doc = new EditorDocument();
const json = doc.toJSON(); // SerializedDocument
doc.loadFromJSON(json);License
AGPL-3.0-or-later © Rafael Marreca. Part of the Sofer editor monorepo.
