feat: add table context to contextmenu and getRangeContext api #576
This commit is contained in:
@@ -28,6 +28,9 @@ export type RangeContext = {
|
||||
rangeRects: RangeRect[]
|
||||
zone: EditorZone
|
||||
isTable: boolean
|
||||
trIndex: number | null
|
||||
tdIndex: number | null
|
||||
tableElement: IElement | null
|
||||
}
|
||||
|
||||
export interface IRangeParagraphInfo {
|
||||
|
||||
@@ -11,6 +11,9 @@ export interface IContextMenuContext {
|
||||
isInTable: boolean
|
||||
isCrossRowCol: boolean
|
||||
zone: EditorZone
|
||||
trIndex: number | null
|
||||
tdIndex: number | null
|
||||
tableElement: IElement | null
|
||||
}
|
||||
|
||||
export interface IRegisterContextMenu {
|
||||
|
||||
Reference in New Issue
Block a user