I want to copy an HTML string to the Clipboard. In the appstore there is an widget called 'ClipboardTextCopy' that can be used to copy plain text and from github I got the widget 'CopyURL', but again it is only possible the copy plain text. I looked on the internet and found that it is possible to add a tag specifying that it is a HTML string. Like this:
window.clipboardData.setData("text", "<div>Testing</div>");
window.clipboardData.setData("html", "<div>Testing</div>");
Can anyone point me to a widget that has the option to copy HTML or how to change one of the above widget adding this tag?
Regards,
Peter