View as Markdown

API reference: @salmonui/rich-text

loadRichTextEnginefunction

import { loadRichTextEngine } from '@salmonui/rich-text';
function loadRichTextEngine(): Promise<typeof import('./load.js')>;

Loads the headless ProseMirror engine on demand: const { createEngine } = await loadRichTextEngine().