plugin-icon

Code Click to Copy

Von treeflips·
Copies and tags automatically to clipboard with customizable tooltips.
Bewertung
4.7/5
Version
1.0.1
Aktive Installationen
800
Zuletzt aktualisiert
Aug 7, 2025
Code Click to Copy

Simple plugin that automatically copies content in <pre> and <code> tags to clipboard (when clicked). Other plugins out there do the same but create a little [COPY] button that you have to aim for. Mine doesn’t require any aiming, just click anywhere on the code block and it copies the whole thing. Customizable hover tooltip lets you know it’s copied.

For sites sharing code-commands, this plugin will save users time from having to highlight and copy-paste bits of text back and forth. It’s especially helpful for large globs of code that scroll off-screen, or when copying on your mobile phone. I’ve added more features to make it more helpful.

Features: * Easy aim – click anywhere on text block to copy entire text, no need to aim for tiny text or clipboard icon. * Tooltip text customization – change tooltip text. * Tooltip color options – customize tooltip background and text colors. * Tooltip hover custom CSS – completely restyle the tooltip hover. * Tooltip function custom CSS – apply tooltip function to other CSS classes. Allowing copy function on any content block, not only code blocks.

Kostenlosmit dem Business-Tarif
Mit deiner Installation stimmst du den Geschäftsbedingungen von WordPress.com sowie den Bedingungen für Drittanbieter-Plugins zu.
Getestet bis
WordPress 6.8.3
Dieses Plugin steht für deine -Website zum Download zur Verfügung.