2.0.0
- Added options:
debug(console.erroris surpassed by default) andpromprt(to specify string in prompt - default is 'Copy to clipboard: Ctrl+C, Enter'). Contribution by @evenchange4 - Switched back to using
textContentto work around issues with trying to copy content that needed escaping, but preserving newline to be able to copy multiline text. Idea by @shvaikalesh