0👍
✅
This behaviour is likely due to the css rule user-select: none;
.
To check if your text element has it, follow these steps:
- Open the browser devtools console, "Elements" tab to inspect the dom.
- Select any text element you want to highlight but you can’t
- Make a search on this element’s applied css (on the "Styles" tab) with
user-select
. - Check if this element has a
user-select: none;
applied (directly or inherited). - Try to remove that rule from your css.
Source:stackexchange.com