Skip to content

BlockSuite API Documentation / @blocksuite/virgo / getTextNodesFromElement

Function: getTextNodesFromElement() ​

getTextNodesFromElement(element): Text[]

Parameters ​

• element: Element

Returns ​

Text[]

Source ​

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


Generated using typedoc-plugin-markdown and TypeDoc