Function: handleStringToStyle()
function handleStringToStyle($dom?, cssStyle?): IStyleData & Record<string, unknown>
Defined in: submodules/univer/packages/ui/src/utils/cell.ts:142
A single span parses out the ITextStyle style sheet
Parameters
Parameter | Type | Default value |
---|---|---|
$dom ? | HTMLElement | undefined |
cssStyle ? | string | '' |
Returns
IStyleData
& Record
<string
, unknown
>