Skip to content

BlockSuite API Documentation / @blocksuite/affine-rich-text / getTextContentFromInlineRange

Function: getTextContentFromInlineRange()

getTextContentFromInlineRange(inlineEditor, startRange): null | string

Defined in: packages/affine/rich-text/src/dom.ts:158

Parameters

inlineEditor

InlineEditor

startRange

null | InlineRange

Returns

null | string