@univerjs/docs-ui v0.4.2 • Docs
Function: addCustomRangeBySelectionFactory()
function addCustomRangeBySelectionFactory(accessor, param): false | IMutationInfo<IRichTextEditingMutationParams> & {
textX: TextX;
}
Parameters
Parameter | Type |
---|---|
accessor | IAccessor |
param | IAddCustomRangeFactoryParam |
Returns
false
| IMutationInfo
<IRichTextEditingMutationParams
> & {
textX
: TextX
;
}
Defined in
packages/docs-ui/src/basics/custom-range-factory.ts:63 (opens in a new tab)