Obtenir un texte sélectionné par l'utilisateur
const getSelectedText = () => window.getSelection().toString();
Tired Tortoise
const getSelectedText = () => window.getSelection().toString();