Title: Carmo Copy to Clipboard
Author: João Carmo Pereira
Published: <strong>April 22, 2023</strong>
Last modified: October 25, 2024

---

Search plugins

![](https://ps.w.org/carmo-copy-to-clipboard/assets/banner-772x250.jpg?rev=2902742)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/carmo-copy-to-clipboard/assets/icon-128x128.jpg?rev=2902742)

# Carmo Copy to Clipboard

 By [João Carmo Pereira](https://profiles.wordpress.org/carmopereira/)

[Download](https://downloads.wordpress.org/plugin/carmo-copy-to-clipboard.zip)

 * [Details](https://wordpress.org/plugins/carmo-copy-to-clipboard/#description)
 * [Reviews](https://wordpress.org/plugins/carmo-copy-to-clipboard/#reviews)
 * [Development](https://wordpress.org/plugins/carmo-copy-to-clipboard/#developers)

 [Support](https://wordpress.org/support/plugin/carmo-copy-to-clipboard/)

## Description

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 two code blocks next to each other

[⌊Example of a small code block⌉⌊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⌉[

Example of a code block when the copy button is pressed

## FAQ

### It only aftects Gutenberg code blocks?

Yes. It would only affect blocks that are equal to core/code type.

### Why that the block style is black?

It’s one of the default themes of Prism. In the future we may add more styles.

## Reviews

![](https://secure.gravatar.com/avatar/f90fac09511bf000274bf53b85fcb95789458965259e42f8e4f2c657731f7de4?
s=60&d=retro&r=g)

### 󠀁[Simple but works great](https://wordpress.org/support/topic/simple-but-works-great-4/)󠁿

 [fdfgoncalves](https://profiles.wordpress.org/fdfgoncalves/) April 26, 2023

A simple function but very useful. Works great.

 [ Read all 1 review ](https://wordpress.org/support/plugin/carmo-copy-to-clipboard/reviews/)

## Contributors & Developers

“Carmo Copy to Clipboard” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ João Carmo Pereira ](https://profiles.wordpress.org/carmopereira/)

[Translate “Carmo Copy to Clipboard” into your language.](https://translate.wordpress.org/projects/wp-plugins/carmo-copy-to-clipboard)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/carmo-copy-to-clipboard/),
check out the [SVN repository](https://plugins.svn.wordpress.org/carmo-copy-to-clipboard/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/carmo-copy-to-clipboard/)
by [RSS](https://plugins.trac.wordpress.org/log/carmo-copy-to-clipboard/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * First Version.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 years ago**
 *  Active installations **10+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.6.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [clipboard](https://wordpress.org/plugins/tags/clipboard/)[copy](https://wordpress.org/plugins/tags/copy/)
 *  [Advanced View](https://wordpress.org/plugins/carmo-copy-to-clipboard/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/carmo-copy-to-clipboard/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/carmo-copy-to-clipboard/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/carmo-copy-to-clipboard/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/carmo-copy-to-clipboard/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/carmo-copy-to-clipboard/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/carmo-copy-to-clipboard/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/carmo-copy-to-clipboard/reviews/)

## Contributors

 *   [ João Carmo Pereira ](https://profiles.wordpress.org/carmopereira/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/carmo-copy-to-clipboard/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://ko-fi.com/carmopereira)