renderPlaintextFromRichText

See source code

Renders plaintext from a rich text string.

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

Parameters

NameDescription

editor

The editor instance.

richText

The rich text content.

Returns

string
Prev
renderHtmlFromRichTextForMeasurement
Next
renderRichTextFromHTML
hey

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