Target Blank to Button Block

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

  • Plugin settings
  • Plugin settings page Location: Appearance > Button block target
  • How to use a CSS class to add target blank only to specific links

Installazione

  1. Install the plugin and activate.
  2. 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

29 Marzo 2019
en attendant l’intégration dans la prochaine version Merci 🙂
22 Marzo 2019
Plugin simple à utiliser. Merci pour cette contribution JB 😉
16 Marzo 2019
On l’installe, un petit blank en classe additionnelle et hop ! Elle fait son boulot parfaitement ! Merci 😀
Leggi tutte le recensioni di 3

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 (registro delle modifiche)

0.1

  • Plugin initial commit. Works fine 🙂