New Plugin: Copy Text #1788
Unanswered
gpsblues
asked this question in
Useful Resources
Replies: 1 comment
-
Great job! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Community!
I’m continuing my experiments with creating Publii plugins, and I’m released Copy Text.
This plugin makes it easy to add a copy-to-clipboard function to any HTML element on your site.
How It Works
To activate the copy function, simply add a custom class to the HTML tag where you want to enable copying (default is copy-text). Once applied, the element will show an icon that lets visitors copy the content with one click.
Key Features:
Easy Setup: Just add a custom class to enable copying.
Basic Style Options: Customize icon size, color, message and optional text labels.
Icon Selection: Choose from three different icons from Lucide Icons to best match your design.
I hope you find this plugin useful! Your feedback is always welcome. Happy coding!
Repository Copy Text
Beta Was this translation helpful? Give feedback.
All reactions