@ai-matrx/rich-editor
v0.5.111
Published
The AI Matrx editor: Visual (Tiptap), Source (CodeMirror), Preview, the markdown formatting command layer, and edit-in-place — over @ai-matrx/rich-content. Consumers that only render never install it.
Readme
@ai-matrx/rich-editor
The AI Matrx editor over @ai-matrx/rich-content: Visual (Tiptap), Source (CodeMirror), Preview,
the markdown formatting command layer, and edit-in-place. Separate from the engine so consumers
that only render never install Tiptap or CodeMirror.
0.1.0 ships the editor's pure core: markdown ⇄ ProseMirror parse/serialize, the formatting
commands (core/markdown-format), the save plan (splice save), find/replace, paste, outline,
text metrics, variables, the edit-in-place session and caret handoff. The Visual/Source/Preview
surfaces follow.
import { formatMarkdown } from "@ai-matrx/rich-editor/core/markdown-format";
formatMarkdown("Ship the release today", 9, 16, "bold"); // → changes producing **release**Peers: react, react-dom (>= 19). MIT licensed.
