Skip to content

CodeMirrorEditor.getSelections method

CodeMirrorEditor › getSelections

Unofficial

Get all selections as an array of strings.

Signature:

getSelections(): string[]

Returns: string[]An array of selected text strings.