<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Editor`](Editor) › [`getSelection`](Editor/getSelection) ## Editor.getSelection() method 0.11.11 **Signature:** ```typescript abstract getSelection(): string; ``` **Returns:** `string`