API Reference
@univerjs
@univerjs/docs-ui
functions
Addcustomrangebyselectionfactory

@univerjs/docs-ui v0.4.2Docs


Function: addCustomRangeBySelectionFactory()

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

Parameters

ParameterType
accessorIAccessor
paramIAddCustomRangeFactoryParam

Returns

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

Defined in

packages/docs-ui/src/basics/custom-range-factory.ts:63 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.