BlockSuite API Documentation / @blocksuite/virgo / calculateTextLength
Function: calculateTextLength() ​
calculateTextLength(
text
):number
Parameters ​
• text: Text
Returns ​
number
Source ​
packages/virgo/src/utils/text.ts:3
Generated using typedoc-plugin-markdown and TypeDoc