Open eti88 opened 3 years ago
The code creates a temporary html textarea element and through this the text is copied to the clipboard
The execCommand is deprecated on new browsers so i added also the clipboard API support and moved the execCommand as fallback mode.
The code creates a temporary html textarea element and through this the text is copied to the clipboard