Skip to content

MarkdownView.getSelection method

MarkdownView › getSelection

Unofficial

Get selection of current mode.

Signature:

getSelection(): string

Returns: stringThe selected text.