Getting started
Migrating to 3.0
Upgrade notes from 2.1.x editor installs to Lextrix 3.0.
If you already mount Lextrix as an editor, 3.0 should feel familiar. Themes, modules, and importContent / exportContent still work. You also get optional document-engine packages for Versions, collab, persistence, and proposals.
npm install lextrix@3.0.0
npm install @lextrix/react@0.3.0 # optional; peer lextrix@^3.0.0The Document bridge is on by default. Turn it off for classic editor-only behavior:
new Lextrix('#editor', { experimentalDocument: false });Prefer importContent / exportContent over the older import / export names.
| Change | Detail |
|---|---|
lextrix | 3.0.0 |
@lextrix/react | 0.3.0 |
| New optional packages | lextrix-collab, lextrix-server, lextrix-intelligence |
Wire format version is still 1 — leave it alone when you bump the npm major.