sudodoki / copy-to-clipboard

Copy stuff into clipboard from your browser using JS
http://sudodoki.github.io/copy-to-clipboard/example/
MIT License
1.33k stars 130 forks source link

fix:Replace label for copying to excel line breaks #118

Open Jacky010 opened 2 years ago

Jacky010 commented 2 years ago

Replace the span label with the pre label. In order to solve the problem, the text that is copied and pasted into excel is also wrapped