Click anywhere within
codetags to automatically copy to clipboard. Simple plugin that automatically copies content in<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 aiming your cursor at any button, simply click anywhere on the code block and it copies the whole thing.
After activation, go to Settings > Code Click to Copy to customize:
– Tooltip background color
– Tooltip text color
– Custom tooltip text
– Custom CSS classes for copy functionality
For support and feature requests, please visit WPJohnny.com or create an issue on GitHub.
Contributions are welcome! Please feel free to submit a Pull Request.
This plugin is released under the GPL v2 or later license.