improve: cursor position at the beginning of a line

This commit is contained in:
Hufe921
2023-07-19 19:52:56 +08:00
parent d464c50435
commit 1bd2e455a5
5 changed files with 49 additions and 12 deletions
+1
View File
@@ -132,6 +132,7 @@ export interface IElementPosition {
ascent: number
lineHeight: number
metrics: IElementMetrics
isFirstLetter: boolean
isLastLetter: boolean
coordinate: {
leftTop: number[]
+1
View File
@@ -18,6 +18,7 @@ export interface ICurrentPosition {
trId?: string
tableId?: string
zone?: EditorZone
hitLineStartIndex?: number
}
export interface IGetPositionByXYPayload {