Replace the selection with the given string. By default, the new selection will span the inserted text. The optional collapse argument can be used to change this � passing "start" or "end" will collapse the selection to the start or end of the inserted text.
(replacement: string, collapse?: string)
| 493 | /** Replace the selection with the given string. By default, the new selection will span the inserted text. |
| 494 | The optional collapse argument can be used to change this � passing "start" or "end" will collapse the selection to the start or end of the inserted text. */ |
| 495 | replaceSelection(replacement: string, collapse?: string): void; |
| 496 | |
| 497 | /** start is a an optional string indicating which end of the selection to return. |
| 498 | It may be "start" , "end" , "head"(the side of the selection that moves when you press shift + arrow), |
no outgoing calls
no test coverage detected