Skip to content

BlockSuite API Documentation / @blocksuite/inline / getTextNodesFromElement

Function: getTextNodesFromElement()

getTextNodesFromElement(element): Text[]

Parameters

element: Element

Returns

Text[]

Source

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