Rich text / foldkit-richtext
foldkit-richtext
Pure semantic documents and text transactions for Foldkit. Content is versioned data with stable node IDs; edits return a new document, mapped selection, and an invalidation summary. This package is early: 0.x, and its API may change between minor versions.
The application Model owns the document and local selection. Call apply from
the application's update; it performs no I/O and holds no editor store. DOM
editing lives in foldkit-richtext-dom; Form/CMS integration
and Sync replication are not implemented yet.
EditorState + Transaction → next EditorState + ChangeSet + positionMap
↘ diagnostic, with no partial result