avascript-how-to detect-if-a-word-is-iluminado
export const isHighlighting = () => {
// detects mouse is highlighting a text
return window.getSelection && window.getSelection().type === 'Range';
};
Borma