@univerjs/docs v0.5.0-beta.1 • 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
docs/src/utils/custom-range-factory.ts:86