@nextgensoftwares/folio-pm-schema
The Folio → ProseMirror schema bridge on its own (0.5+), with no editor, ProseMirror view or DOM: it depends only on folio-model and prosemirror-model.
| Export | Signature | Description |
|---|---|---|
toProseMirrorSchema | (schema: FolioSchema) => PMSchema | the ProseMirror schema for a Folio schema, as the editor builds it: servers validate and apply steps with the same schema their clients edit with |
@nextgensoftwares/folio-editor depends on it and re-exports toProseMirrorSchema (also from @nextgensoftwares/folio-editor/schema).