Home Plugins target blank to button block
Target Blank to Button Block logo

Target Blank to Button Block

by Jb Audras on WordPress.org

Add Target Blank to Gutenberg Button Block. Provisory fix to add target blank to button blocks.

(3)
Plugin settings

Plugin settings

Add Target Blank to Gutenberg Button Block. Provisory fix to add target blank to button blocks.

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.

Please note that this plugin uses Javascript to add Target blank on Button Block as a fallback.

A screen reader text is also added for better accessibility and a rel="external noreferrer noopener" attribute is added for better security.

It provides two options:

  • Automatically add target blank to ALL Button blocks (default)
  • Only add target blank to links that have the blank CSS class

(see screenshots below)

Active installations100+
Weekly downloads
16-5.88%
Version0.1
Last updated1/14/2024
WordPress version5.0
Tested up to6.4.5
PHP version5.6
Tags
blankblockbuttongutenbergtarget