Linux 软件免费装
Banner图

Carmo Copy to Clipboard

开发者 carmopereira
更新时间 2024年10月25日 18:52
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.6.2
版权: GPLv2 or later
版权网址: 版权信息

标签

copy clipboard

下载

详情介绍:

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

屏幕截图:

  • Example of a small code block
  • Example of a code block when the copy button is pressed

常见问题:

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.

更新日志:

1.0