Skip to content

BlockSuite API Documentation / @blocksuite/inline / getTextNodesFromElement

Function: getTextNodesFromElement()

getTextNodesFromElement(element): Text[]

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

Parameters

element

Element

Returns

Text[]