{"id":99872,"date":"2019-03-16T08:20:28","date_gmt":"2019-03-16T08:20:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/add-target-blank-to-button-block\/"},"modified":"2024-01-14T22:39:21","modified_gmt":"2024-01-14T22:39:21","slug":"target-blank-to-button-block","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/target-blank-to-button-block\/","author":8670591,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1","stable_tag":"0.1","tested":"6.4.8","requires":"5.0","requires_php":"5.6","requires_plugins":null,"header_name":"Target Blank to Button Block","header_author":"Jb Audras","header_description":"Add Target Blank to Gutenberg Button Block. Provisory fix to add target blank to button blocks.","assets_banners_color":"bf154b","last_updated":"2024-01-14 22:39:21","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/audrasjb","header_plugin_uri":"https:\/\/jeanbaptisteaudras.com\/2019\/03\/ajout-du-target-blank-sur-les-liens-du-bloc-bouton-de-lediteur-gutenberg-de-wordpress\/","header_author_uri":"https:\/\/jeanbaptisteaudras.com\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":3844,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1":{"tag":"0.1","author":"audrasjb","date":"2024-01-14 22:39:21"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2051582,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2051582,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2051582,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2051582,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2051582,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2051582,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2051582,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Plugin settings","2":"Plugin settings page Location: Appearance &gt; Button block target","3":"How to use a CSS class to add target blank only to specific links"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[12140,1220,485,148076,1918],"plugin_category":[],"plugin_contributors":[98271],"plugin_business_model":[],"class_list":["post-99872","plugin","type-plugin","status-publish","hentry","plugin_tags-blank","plugin_tags-block","plugin_tags-button","plugin_tags-gutenberg","plugin_tags-target","plugin_contributors-audrasjb","plugin_committers-audrasjb"],"banners":{"banner":"https:\/\/ps.w.org\/target-blank-to-button-block\/assets\/banner-772x250.png?rev=2051582","banner_2x":"https:\/\/ps.w.org\/target-blank-to-button-block\/assets\/banner-1544x500.png?rev=2051582","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/target-blank-to-button-block\/assets\/icon-128x128.png?rev=2051582","icon_2x":"https:\/\/ps.w.org\/target-blank-to-button-block\/assets\/icon-256x256.png?rev=2051582","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/target-blank-to-button-block\/assets\/screenshot-1.png?rev=2051582","caption":"Plugin settings"},{"src":"https:\/\/ps.w.org\/target-blank-to-button-block\/assets\/screenshot-2.png?rev=2051582","caption":"Plugin settings page Location: Appearance &gt; Button block target"},{"src":"https:\/\/ps.w.org\/target-blank-to-button-block\/assets\/screenshot-3.png?rev=2051582","caption":"How to use a CSS class to add target blank only to specific links"}],"raw_content":"<!--section=description-->\n<p>Add Target Blank to Gutenberg Button Block. Provisory fix to add target blank to button blocks.<\/p>\n\n<p>The target blank feature is already addressed in Gutenberg project GitHub repository. This plugin aims to provide an alternative for those who want this feature now.<\/p>\n\n<p>Please note that this plugin uses Javascript to add Target blank on Button Block as a fallback.<\/p>\n\n<p>A <code>screen reader text<\/code> is also added for better accessibility and a <code>rel=\"external noreferrer noopener\"<\/code> attribute is added for better security.<\/p>\n\n<p>It provides two options:<\/p>\n\n<ul>\n<li>Automatically add target blank to ALL Button blocks (default)<\/li>\n<li>Only add target blank to links that have the <code>blank<\/code> CSS class<\/li>\n<\/ul>\n\n<p>(see screenshots below)<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin and activate.<\/li>\n<li>Got to Appearance &gt; Button block target and choose your options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20configure%20the%20plugin%20settings%3F'><h3>How to configure the plugin settings?<\/h3><\/dt>\n<dd><p>Plugin settings are available under Appearance &gt; Button block target.<\/p><\/dd>\n<dt id='what%20will%20happens%20once%20the%20target%20blank%20will%20be%20available%20in%20gutenberg%3F'><h3>What will happens once the target blank will be available in Gutenberg?<\/h3><\/dt>\n<dd><p>Once the button block target blank feature is released in Gutenberg, the plugin will display a notice on your WordPress Admin to disable it. But even if you leave the plugin active, it won\u2019t break your site, no worries :-)<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>Plugin initial commit. Works fine :)<\/li>\n<\/ul>","raw_excerpt":"Add Target Blank to Gutenberg Button Block. Provisory fix to add target blank to button blocks.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/99872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=99872"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/audrasjb"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=99872"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=99872"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=99872"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=99872"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=99872"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=99872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}