@univerjscorefunctionsGetcustomblockslice

@univerjs/core v0.5.4


Function: getCustomBlockSlice()

function getCustomBlockSlice(
   body, 
   startOffset, 
   endOffset): 
  | undefined
  | {
  blockId: string;
  blockType: BlockType;
  startIndex: number;
 }[]

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/utils.ts:152

Parameters

ParameterType
bodyIDocumentBody
startOffsetnumber
endOffsetnumber

Returns

| undefined | { blockId: string; blockType: BlockType; startIndex: number; }[]