Beschrijving
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
Schermafbeeldingen
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.
Bijdragers & ontwikkelaars
“Carmo Copy to Clipboard” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “Carmo Copy to Clipboard” naar jouw taal.
Interesse in de ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.0
- First Version.