We'll create fresh WordPress site with Target Blank to Button Block installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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:
blank
CSS class(see screenshots below)