Installation
Install the SpineEditor packages.
For a browser editor, mount these two packages:
| Package | Purpose |
|---|---|
@spine-editor/core | Headless semantic engine — Intent → Plan → Transaction → Apply → Normalize → Commit. No DOM. |
@spine-editor/dom | Browser runtime — renderer, substrate, selection overlay, selection mapping, clipboard, IME. |
The workspace packages are still versioned as 0.0.0, so local development should consume them through the monorepo workspace. External consumers should pin to a commit until a release version is cut.
Requirements
- Node.js — 20.x or later
- TypeScript — 5.4 or later recommended