Closed HellowVirgil closed 1 month ago
In this case, only text/html format can be set:
text/html
copyToClipboard(url, { format: 'text/plain', }); copyToClipboard(`<a href="${url}">aaa</a>`, { format: 'text/html', });
because the clipboardData has been cleaned when called each time.
In this case, only
text/html
format can be set:because the clipboardData has been cleaned when called each time.