BlockSuite API Documentation / @blocksuite/inline / calculateTextLength
Function: calculateTextLength()
calculateTextLength(
text
):number
Parameters
• text: Text
Returns
number
Defined in
packages/framework/inline/src/utils/text.ts:3
BlockSuite API Documentation / @blocksuite/inline / calculateTextLength
calculateTextLength(
text
):number
• text: Text
number
packages/framework/inline/src/utils/text.ts:3