SelectionChangedEventArgs

23 Sep 20251 minute to read

Provides information about the selectionChanged event in the Rich Text Editor.

Properties

editorMode EditorMode|string

Indicates if the editor is currently in HTML or Markdown mode.

selectedContent string

The HTML string representation of the current non-empty selection, including any inline styles and semantic tags.

selection Selection

The browser Selection object representing the current selection range within the editor.