renderHtmlFromRichTextForMeasurement

See source code

Renders HTML from a rich text string for measurement.

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

Parameters

NameDescription

editor

The editor instance.

richText

The rich text content.

Returns

string
Prev
renderHtmlFromRichText
Next
renderPlaintextFromRichText
hey

We use cookies on this website.
Learn more in our Cookie Policy.