BACK TO DIRECTORY

Carmo Copy to Clipboard

by João Carmo Pereira

5.0
(1 ratings)

This plugin will add a new copy to clipboard functionality to Gutenberg Code Block.
It will add a copy button at the top right corner of the block. After clicked, it will select the text, copy to clipboard, and after copy it will deselect the copied text. No markup here.

This plugin makes use of two javascript libraries:
Clipboard.js and Prism.js

Screenshots

Example of two code blocks next to each other

Example of two code blocks next to each other

Example of a small code block

Example of a small code block

Example of a code block when the copy button is pressed

Example of a code block when the copy button is pressed

Plugin Details

Active Installs
10
Total Downloads
1,509
Version
1.0.0
Requires WP
6.0
Requires PHP
7.4
Tested Up To
6.6.7
Added
2023-04-22
Last Updated
2024-10-25 10:52am GMT

Ratings

5
1
4
0
3
0
2
0
1
0