plugin-icon

Target Blank to Button Block

作者:Jb Audras·
Add Target Blank to Gutenberg Button Block. Provisory fix to add target blank to button blocks.
评级
5/5
版本
0.1
活跃安装
100
最后更新
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)

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.4.7
这个插件是可用的下载,适用于您的站点。