May 04, 2020 08:34 AM
How can I capture selected text using CSS selectors. The use case is that I want to capture some interesting lines/quotes from articles that I am reading.
I tried using the ::selection however it does not seem to work.
I am selecting the text manually myself so, it’s not that difficult to make a copy and do a paste after opening the extension. But having the selection populate automatically would be cool.
Solved! Go to Solution.
May 04, 2020 02:32 PM
May 04, 2020 08:48 AM
Hey! You can usually just grab the class of the text.
It’s not always that simple - But a lot of the time it is
May 04, 2020 02:27 PM
Thanks for your response.
Doesn’t the class solution only work for a specific use case? I was looking for a generic solution. I want to highlight any text on any website and be able to capture the highlighted text.
May 04, 2020 02:30 PM
Oh! In that case, that’s just a configuration option you can add to the clipper
May 04, 2020 02:32 PM
Here’s a screenshot which will hopefully explain that a bit better
May 04, 2020 02:48 PM
Oops, how did I miss that. Thanks a lot for helping me out!
:grinning: