function
renderRichTextHTML
Pure synchronous rendering: no editor bundle, DOM, Svelte dependency or network requests.
Arguments
| Argument | Type | Description |
|---|---|---|
value | RichTextDocument< | The value value. |
options | RichTextRenderOptions< | The options value. |
Returns
The declared result.
stringFull signature
function renderRichTextHTML<Payload extends {
blockType: string
} = never>(
value: RichTextDocument<Payload>,
options?: RichTextRenderOptions<Payload>,
): stringRelated types
RichTextDocumentThe generated TypeScript input/output contract for stored version-1 content.
RichTextRenderOptionsPublic interface RichTextRenderOptions from @riducms/plugin-richtext.