Copy Text and HTML to Clipboard

library to copy the string and html parameters to the clipboard

As of 2024-04-07. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v2.0 2025-01-06

    if plaintext is the desired paste behavior, now offers an option to suppress MIME type text/html being set. previously plaintext content would always be copied into text/html, which caused linefeeds to be ignored in richtext target applications

  • v1.0 2024-04-07