@azlib/editor
v0.3.0
Published
Framework-agnostic rich editor runtime for composing emails, documents, blog posts, and articles.
Readme
@azlib/editor
Framework-agnostic rich editor runtime for composing emails, documents, blog posts, and articles.
Current baseline
- Framework-neutral editor instance API
- Formatting command registry for core authoring actions
- Undo/redo history management
- Markdown and HTML transform boundaries
- HTML sanitization using DOMPurify-compatible runtime
Quick example
import { createEditor } from "@azlib/editor";
const editor = createEditor({
initialContent: { format: "markdown", payload: "# Hello editor" },
});
editor.execute("bold");
const markdown = editor.export("markdown");Status
This package is under active feature development for framework parity across plain DOM and React host surfaces.
