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
Parameter | Type |
---|---|
body | IDocumentBody |
startOffset | number |
endOffset | number |
Returns
| undefined
| {
blockId
: string
;
blockType
: BlockType
;
startIndex
: number
;
}[]