document.execCommand('copy') command add line feeds in the start and end of the string

前端 未结 0 728
甜味超标
甜味超标 2020-12-12 01:41

I have written this function to copy text to clipboard. It copies content but it add line feeds to the string copied.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题