replaceSelection Method
Change selection.
replaceSelection(keys: Keys, level: number = 0): void
Parameter | Type | Description |
---|---|---|
keys | Keys | The keys indicating the new selection. |
level | number | Level of the selection. |
Returns - void
Defined in
Last Updated: 20 June, 2023