Skip to content
On this page

EditorTransaction

Properties

replaceSelection

ts
replaceSelection: string

changes

ts
changes: EditorChange[]

selections

ts
selections: EditorRangeOrCaret[]

多选项,覆盖 selection

selection

ts
selection: EditorRangeOrCaret