Skip to content

BlockSuite API Documentation / @blocksuite/inline / getTextNodesFromElement

Function: getTextNodesFromElement()

getTextNodesFromElement(element): Text[]

Parameters

element

Element

Returns

Text[]

Defined in

packages/framework/inline/src/utils/text.ts:11