open_in_new
content_copy
const getSelectedText = () => window.getSelection().toString(); getSelectedText();