@univerjs/core v0.5.0-beta.1 • Docs
Function: normalizeTextRuns()
function normalizeTextRuns(textRuns, reserveEmptyTextRun): ITextRun[]
Parameters
Parameter | Type | Default value |
---|---|---|
textRuns | ITextRun [] | undefined |
reserveEmptyTextRun | boolean | false |
Returns
ITextRun
[]
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/apply-utils/common.ts:33