Descripción
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
Capturas
Preguntas frecuentes
-
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.
Colaboradores y desarrolladores
Este software es de código abierto. Las siguientes personas han contribuido a este plugin.
ColaboradoresTraduce “Carmo Copy to Clipboard” a tu idioma.
¿Interesado en el desarrollo?
Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.0
- First Version.