plugin-icon

Target Blank to Button Block

Von Jb Audras·
Add Target Blank to Gutenberg Button Block. Provisory fix to add target blank to button blocks.
Bewertungen
5
Version
0.1
Aktive Installationen
100
Zuletzt aktualisiert
Jan 14, 2024
Target Blank to Button Block

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)

Kostenlosmit kostenpflichtigen Tarifen
Mit deiner Installation stimmst du den Geschäftsbedingungen von WordPress.com sowie den Bedingungen für Drittanbieter-Plugins zu.
Getestet bis
WordPress 6.4.8
Dieses Plugin steht für deine -Website zum Download zur Verfügung.