@univerjsdocsfunctionsAddcustomrangebyselectionfactory

@univerjs/docs v0.5.4


Function: addCustomRangeBySelectionFactory()

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

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

Parameters

ParameterType
accessorIAccessor
paramIAddCustomRangeFactoryParam

Returns

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