ཞིབ་བརྗོད།
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
གཏུབ་རེིས།
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.
གདེང་འཇོག
བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།
“Carmo Copy to Clipboard” is open source software. The following people have contributed to this plugin.
བྱས་རྗེས་འཇོག་མཁན།ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Carmo Copy to Clipboard” ཡིག་སྒྱུར་བྱོས།
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
དག་བཅོས་ཉིན་ཐོ།
1.0
- First Version.