ken107 / read-aloud

An awesome browser extension that reads aloud webpage content with one click
https://readaloud.app
MIT License
1.31k stars 227 forks source link

Make text in popup window copyable #408

Closed atkirtland closed 1 week ago

atkirtland commented 1 week ago

If the popup window is treated like a reader mode, then it would be convenient to be able to copy text by clicking and dragging.

ken107 commented 1 week ago

Please copy the text directly from the webpage article or document instead of the popup window. The text in the popup window supports click-to-seek behavior. Therefore it cannot support text selection

atkirtland commented 1 week ago

It's perfectly fine for it to not be planned, but why is there a fundamental conflict between click-to-seek and text selection? Is it a technical limitation with the libraries used? When I click and drag now, nothing happens. It does not seek. It therefore seems like clicking and dragging could be used for text selection.

ken107 commented 1 week ago

You are right, it's possible to support both behaviors. In this case, i think it's just not a good place to do text selection. The content in the popup is too dynamic, with text highlighting, auto-scrolling, and click to seek behavior.