API > @blocksuite/blocks > normalizeTextBound
Function: normalizeTextBound ​
normalizeTextBound(
text,bound,dragging=false):Bound
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
text | TextElement | undefined |
bound | Bound | undefined |
dragging | boolean | false |
Returns ​
Defined In ​
packages/blocks/src/surface-block/elements/text/utils.ts:339