Documentation
Lextrix Documentation
Guides for Lextrix 3.0 — rich-text editor and document engine. Install, React, collaboration, persistence, and proposals.
Getting started
Overview
Lextrix 3.0 — editor first, document engine when you need history, sync, or AI proposals.
Read guide →Getting Started
Install Lextrix, import a theme, wire up events, and render your first editor.
Read guide →Evaluation Guide
A short path from try-out to install, export, and built-in modules.
Read guide →Cookbook
Copy-paste recipes — mount, uploads, syntax, tables, and common fixes.
Read guide →Browser editor
React Integration
Official @lextrix/react bindings — LextrixEditor, controlled formats, Next.js.
Read guide →DOM Mounting
Toolbar placement, wrapper refs, and teardown — especially for remounts.
Read guide →Themes
Snow, bubble, slate, and dawn — CSS imports and switching themes safely.
Read guide →Configuration
Modules, formats, themes, upload handlers, and editor options.
Read guide →Plugin System
Built-in modules, custom formats, and serializers without forking core.
Read guide →Document engine
Document Model
Document, Handle, ChangeSet, Version, Anchor, Range, Proposal, and the editor bridge.
Read guide →Collaboration
OT transform/rebase, authoritative server, changeId, and reconnect.
Read guide →Persistence & Server
PostgreSQL CAS, changeId, owner_epoch, snapshots, and the reference WebSocket host.
Read guide →AI / Intelligence
Providers emit ChangeProposals — validate, rebase if needed, accept explicitly.
Read guide →Content formats
Serialization
importContent and exportContent for HTML, Markdown, MDX, and JSON.
Read guide →Markdown Support
Markdown import/export through ChangeSet — limitations and storage patterns.
Read guide →MDX Support
MDX import/export for CMS storage — experimental component handlers.
Read guide →Advanced ADRs and monorepo notes live in the GitHub docs folder. Start here with the overview.