@univerjsdocsfunctionsAddcustomrangebyselectionfactory

@univerjs/docs v0.5.0-beta.1Docs


Function: addCustomRangeBySelectionFactory()

function addCustomRangeBySelectionFactory(accessor, param): false | IMutationInfo<IRichTextEditingMutationParams> & {
  textX: TextX;
}

Parameters

ParameterType
accessorIAccessor
paramIAddCustomRangeFactoryParam

Returns

false | IMutationInfo<IRichTextEditingMutationParams> & { textX: TextX; }

Defined in

docs/src/utils/custom-range-factory.ts:86