Skip to content

API > @blocksuite/virgo > getTextNodesFromElement

Function: getTextNodesFromElement ​

getTextNodesFromElement(element): Text[]

Parameters ​

ParameterType
elementElement

Returns ​

Text[]

Defined In ​

packages/virgo/src/utils/text.ts:11