improve: cursor position at the beginning of a line
This commit is contained in:
@@ -132,6 +132,7 @@ export interface IElementPosition {
|
||||
ascent: number
|
||||
lineHeight: number
|
||||
metrics: IElementMetrics
|
||||
isFirstLetter: boolean
|
||||
isLastLetter: boolean
|
||||
coordinate: {
|
||||
leftTop: number[]
|
||||
|
||||
@@ -18,6 +18,7 @@ export interface ICurrentPosition {
|
||||
trId?: string
|
||||
tableId?: string
|
||||
zone?: EditorZone
|
||||
hitLineStartIndex?: number
|
||||
}
|
||||
|
||||
export interface IGetPositionByXYPayload {
|
||||
|
||||
Reference in New Issue
Block a user