Skip to Content

@stesura/core

The editor engine, framework-free; the React bindings live in @stesura/editor-react. Each subpath is its own entry point:

Entry pointContents
@stesura/core/commandsCommands for document mutations: formatting, lists, tables, sections, search and more
@stesura/core/helpersQuery the document, selection, marks and resolved styles; a few (clearContent, startImageUpload, unWrap) dispatch
@stesura/core/utilsGeneral utilities with no ProseMirror dependency
@stesura/core/typesShared TypeScript types for documents, users, comments and preferences
@stesura/core/storesNanostores holding editor-external state
@stesura/core/schemaThe document schema and its construction
@stesura/core/pluginsProseMirror plugins that make up the editor runtime
@stesura/core/guardsTransaction guards: attr bounds, normalization and mode gating
@stesura/core/keymapKeyboard bindings
@stesura/core/ommlOMML (Word equations) → LaTeX
@stesura/core/sub-editorShared machinery for nested editors (notes, headers/footers)
@stesura/core/constantsShared constant values
@stesura/core/testingHelpers 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