getText
@blockslides/core / getText
Function: getText()
getText(
node,options?):string
Defined in: blockslides/packages/core/src/helpers/getText.ts:15
Gets the text of a Prosemirror node
Parameters
node
Node
The Prosemirror node
options?
Options for the text serializer & block separator
blockSeparator?
string
textSerializers?
Record<string, TextSerializer>
Returns
string
The text of the node