# loadRichTextEngine (@salmonui/rich-text)

> The loadRichTextEngine function of @salmonui/rich-text: Loads the headless ProseMirror engine on demand: const { createEngine } = await loadRichTextEngine().

Canonical: https://salmonui.dev/docs/reference/rich-text/loadRichTextEngine

```ts
import { loadRichTextEngine } from '@salmonui/rich-text';
```

Entry index: https://salmonui.dev/docs/reference/rich-text (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/rich-text.md).

## Reference

Kind: function

```ts
function loadRichTextEngine(): Promise<typeof import('./load.js')>;
```

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