@stesura/core
The editor engine, framework-free; the React bindings live in
@stesura/editor-react. Each subpath is its own entry point:
| Entry point | Contents |
|---|---|
@stesura/core/commands | Commands for document mutations: formatting, lists, tables, sections, search and more |
@stesura/core/helpers | Query the document, selection, marks and resolved styles; a few (clearContent, startImageUpload, unWrap) dispatch |
@stesura/core/utils | General utilities with no ProseMirror dependency |
@stesura/core/types | Shared TypeScript types for documents, users, comments and preferences |
@stesura/core/stores | Nanostores holding editor-external state |
@stesura/core/schema | The document schema and its construction |
@stesura/core/plugins | ProseMirror plugins that make up the editor runtime |
@stesura/core/guards | Transaction guards: attr bounds, normalization and mode gating |
@stesura/core/keymap | Keyboard bindings |
@stesura/core/omml | OMML (Word equations) → LaTeX |
@stesura/core/sub-editor | Shared machinery for nested editors (notes, headers/footers) |
@stesura/core/constants | Shared constant values |
@stesura/core/testing | Helpers for writing your own editor tests; needs the optional peer prosemirror-test-builder |
@stesura/core/styles is the editor stylesheet (CSS, no types).
@stesura/core/commands/internal is not public API.
Last updated on