feat: cursor following page scrolling #229

This commit is contained in:
Hufe921
2023-08-04 20:38:22 +08:00
parent a96a77a237
commit 3db28cc04f
8 changed files with 91 additions and 7 deletions
+1
View File
@@ -53,6 +53,7 @@ interface IEditorOption {
inactiveAlpha?: number // 正文内容失焦时透明度。默认值:0.6
historyMaxRecordCount: number // 历史(撤销重做)最大记录次数。默认:100次
printPixelRatio: number // 打印像素比率(值越大越清晰,但尺寸越大)。默认:3
maskMargin: IMargin // 编辑器上的遮盖边距(如悬浮到编辑器上的菜单栏、底部工具栏)。默认:[0, 0, 0, 0]
wordBreak: WordBreak // 单词与标点断行:BREAK_WORD首行不出现标点&单词不拆分、BREAK_ALL按字符宽度撑满后折行。默认:BREAK_WORD
watermark?: IWatermark // 水印信息。{data:string; color?:string; opacity?:number; size?:number; font?:string;}
control?: IControlOption // 控件信息。 {placeholderColor?:string; bracketColor?:string; prefix?:string; postfix?:string;}