Skip to content

Rich Text Editing

LiveStore doesn’t yet have built-in rich text primitives. It’s currently recommended to pair LiveStore with a CRDT library (e.g. Yjs, Automerge, or Loro). LiveStore stores a reference (URL/ID) to the CRDT document in its event log. The CRDT library owns the text content and syncs it over its own transport. Both systems sync in parallel. LiveStore handles metadata while the CRDT library handles document bytes.

Example: linking a note to an Automerge document

Section titled “Example: linking a note to an Automerge document”