Beskrivelse
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
blankCSS class
(see screenshots below)
Skærmbilleder
Installation
- Install the plugin and activate.
- Got to Appearance > Button block target and choose your options.
FAQ
-
How to configure the plugin settings?
-
Plugin settings are available under Appearance > Button block target.
-
What will happens once the target blank will be available in Gutenberg?
-
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’t break your site, no worries 🙂
Anmeldelser
Bidragsydere & udviklere
“Target Blank to Button Block” er open source-software. Følgende personer har bidraget til dette plugin.
Bidragsydere“Target Blank to Button Block” er blevet oversat til 1 sprog. Tak til oversætterne for deres bidrag.
Oversæt “Target Blank to Button Block” til dit eget sprog.
Interesseret i udvikling?
Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.
Ændringslog
0.1
- Plugin initial commit. Works fine 🙂



