Descrizione
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)
Screenshot
Installazione
- 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 🙂
Recensioni
Contributi e sviluppo
“Target Blank to Button Block” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.
Collaboratori“Target Blank to Button Block” è stato tradotto in 1 lingua. Grazie ai traduttori per i loro contributi.
Traduci “Target Blank to Button Block” nella tua lingua.
Ti interessa lo sviluppo?
Esplora il codice segui il repository SVN, segui il log delle modifiche tramite RSS.
Changelog
0.1
- Plugin initial commit. Works fine 🙂