renderHtmlFromRichText

See source code

Renders HTML from a rich text string.

function renderHtmlFromRichText(editor: Editor, richText: TLRichText): string

Parameters

NameDescription

editor

The editor instance.

richText

The rich text content.

Returns

string
Prev
removeFrame
Next
renderHtmlFromRichTextForMeasurement