跳到内容

Carmo Copy to Clipboard

v1.0.0

João Carmo Pereira · 2023年4月22日 上架

This plugin will add a new copy to clipboard functionality to Gutenberg Code Block.

正在使用
10+
评分
5.0 / 5
累计下载
1,631
最近更新
2024年10月25日
1 条评价需要 WordPress 6.0+已测试到 6.6.12PHP 7.4+

截图

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

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums