r-lib / diffviewer

HTML widget to visually compare files
http://diffviewer.r-lib.org
Other
58 stars 7 forks source link

Could the widget be tweaked so that copying text is a bit easier? #24

Open olivroy opened 2 months ago

olivroy commented 2 months ago

Currently, when we select text and attempt to copy it, the + and - symbols and line numbers are kept.

This makes it harder to copy the result.

I usually attempt to copy the result for searching matches for example.

Thanks!

I would do a PR with guidance, but I am not very familiar with JS / css etc.