Home > @uniformdev/richtext > renderChildrenToText

renderChildrenToText() function

Render an array of RichTextNodes to a string based on a particular context.

This will often be called from within a NodeRenderer using the renderChildren prop.

Signature:

Parameters

Parameter

Type

Description

children

RichTextNode[] | undefined

context

StringRenderContext

Returns:

string