{"id":173036,"date":"2023-04-22T13:00:36","date_gmt":"2023-04-22T13:00:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/carmo-copy-to-clipboard\/"},"modified":"2024-10-25T10:52:21","modified_gmt":"2024-10-25T10:52:21","slug":"carmo-copy-to-clipboard","status":"publish","type":"plugin","link":"https:\/\/nb.wordpress.org\/plugins\/carmo-copy-to-clipboard\/","author":20120218,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"6.6.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Carmo Copy to Clipboard","header_author":"carmo","header_description":"Adds a 'Copy to Clipboard' button to Gutenberg code blocks.","assets_banners_color":"fefff2","last_updated":"2024-10-25 10:52:21","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ko-fi.com\/carmopereira","header_plugin_uri":"https:\/\/www.carmo.pt\/project\/copy-to-clipboard\/","header_author_uri":"https:\/\/carmo.pt","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1110,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2902742,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2902742,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2902742,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2902742,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2902742,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Example of two code blocks next to each other","2":"Example of a small code block","3":"Example of a code block when the copy button is pressed"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[17897,2738],"plugin_category":[],"plugin_contributors":[220026],"plugin_business_model":[],"class_list":["post-173036","plugin","type-plugin","status-publish","hentry","plugin_tags-clipboard","plugin_tags-copy","plugin_contributors-carmopereira","plugin_committers-carmopereira"],"banners":{"banner":"https:\/\/ps.w.org\/carmo-copy-to-clipboard\/assets\/banner-772x250.jpg?rev=2902742","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/carmo-copy-to-clipboard\/assets\/icon-128x128.jpg?rev=2902742","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/carmo-copy-to-clipboard\/assets\/screenshot-1.png?rev=2902742","caption":"Example of two code blocks next to each other"},{"src":"https:\/\/ps.w.org\/carmo-copy-to-clipboard\/assets\/screenshot-2.png?rev=2902742","caption":"Example of a small code block"},{"src":"https:\/\/ps.w.org\/carmo-copy-to-clipboard\/assets\/screenshot-3.png?rev=2902742","caption":"Example of a code block when the copy button is pressed"}],"raw_content":"<!--section=description-->\n<p>This plugin will add a new copy to clipboard functionality to Gutenberg Code Block.\nIt 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.<\/p>\n\n<p>This plugin makes use of two javascript libraries:\nClipboard.js and Prism.js<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='it%20only%20aftects%20gutenberg%20code%20blocks%3F'><h3>It only aftects Gutenberg code blocks?<\/h3><\/dt>\n<dd><p>Yes. It would only affect blocks that are equal to core\/code type.<\/p><\/dd>\n<dt id='why%20that%20the%20block%20style%20is%20black%3F'><h3>Why that the block style is black?<\/h3><\/dt>\n<dd><p>It's one of the default themes of Prism. In the future we may add more styles.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>First Version.<\/li>\n<\/ul>","raw_excerpt":"This plugin will add a new copy to clipboard functionality to Gutenberg Code Block.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/173036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=173036"}],"author":[{"embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/carmopereira"}],"wp:attachment":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=173036"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=173036"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=173036"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=173036"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=173036"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=173036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}