Carmo Copy to Clipboard

Beskriuwing

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

Skermôfbyldings

  • Example of two code blocks next to each other
  • Example of a small code block
  • 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.

Resinsjes

Lês alle 1 resinsje

Meiwurkers & amp; Untwikkelders

“Carmo Copy to Clipboard” is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.

Meiwurkers

Oersette “Carmo Copy to Clipboard” yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .

Feroaringslog

1.0

  • First Version.