feat: add isTable property to the RangeContext interface

pr675
Hufe921 2 years ago
parent 1df98b9359
commit 9ad991a393

@ -2125,6 +2125,8 @@ export class CommandAdapt {
}
// 区域信息
const zone = this.draw.getZone().getZone()
// 表格信息
const isTable = this.position.getPositionContext().isTable
return deepClone({
isCollapsed,
startElement,
@ -2132,7 +2134,8 @@ export class CommandAdapt {
startPageNo,
endPageNo,
rangeRects,
zone
zone,
isTable
})
}

@ -27,4 +27,5 @@ export type RangeContext = {
endPageNo: number
rangeRects: RangeRect[]
zone: EditorZone
isTable: boolean
}

Loading…
Cancel
Save