ember-cli-diff icon indicating copy to clipboard operation
ember-cli-diff copied to clipboard

Make diffs more easily copy/pastable

Open joukevandermaas opened this issue 8 years ago • 1 comments

Example of what happens now:

image

It would be great if the line numbers (and maybe even + and - symbols) did not get selected when selecting text in the diff. For an example, see Github diffs.

joukevandermaas avatar Aug 16 '17 09:08 joukevandermaas

@joukevandermaas tried user-select: none and learnt that webkit lets you copy text from an element that has user-select:none while firefox doesn't, so 😿

related webkit issue: https://bugs.webkit.org/show_bug.cgi?id=80159

sivakumar-kailasam avatar Sep 02 '17 04:09 sivakumar-kailasam