use-text-selection
Returns current selected text on the page
Import
Source
Docs
Package
Usage
use-text-selection
returns current text selection:
Select some text here or anywhere on the page and it will be displayed below
Selected text:
Returns current selected text on the page
Import
Source
Docs
Package
use-text-selection
returns current text selection: