Type Editor / @type-editor/dom-change-util / parse-change/handle-selection-only-change
parse-change/handle-selection-only-change
Functions
| Function | Description |
|---|---|
Handles selection-only changes (when no content has changed). This function is called when a DOM change event indicates a selection change but no content modification. It reads the current DOM selection, creates a transaction to update the editor selection, and dispatches it. The function also:
If the new selection is identical to the current selection, no action is taken. See
|