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)

스크린샷

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

설치

  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 🙂

후기

2019년 3월 29일
en attendant l'intégration dans la prochaine version Merci 🙂
2019년 3월 22일
Plugin simple à utiliser. Merci pour cette contribution JB 😉
2019년 3월 16일
On l'installe, un petit blank en classe additionnelle et hop ! Elle fait son boulot parfaitement ! Merci 😀
모든 3 평가 읽기

기여자 & 개발자

“Target Blank to Button Block”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Target Blank to Button Block”(이)가 1(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Target Blank to Button Block”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.1

  • Plugin initial commit. Works fine 🙂