Skip to content

Doc.somethingSelected method

Doc › somethingSelected

Unofficial

Tells whether the editor currently has a selection.

Signature:

somethingSelected(): boolean

Returns: booleantrue if text is selected.