Skip to content

BlockSuite API Documentation / @blocksuite/inline / calculateTextLength

Function: calculateTextLength()

calculateTextLength(text): number

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

Parameters

text

Text

Returns

number