Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Target Attributes Filter

Security covered Under active development 85 sites

This module allows administrators to control the `target` attribute for hyperlinks within specific text formats. You can choose the desired `target` value and specify whether it applies to all links, only internal links, or only external links.

Override the hyperlink target attribute using text formats. Choose the target attribute value and whether it applies to all links, only internal, or only external links.

Usage

  1. Download and install the module. Recommended install method is composer:
    composer require drupal/target_attributes_filter
  2. Go to the "Text formats and editors" configuration page (/admin/config/content/formats).
  3. Edit the desired text format.
  4. Enable the "Add target attribute to links" filter.
  5. Review available configurations under filter settings and save changes.
Drupal 9–11

Ask your assistant about Target Attributes Filter

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • filter Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Jul 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.0.9 Stable 9–11 Dec 10, 2024
1.0.8 Stable 9–10 Aug 16, 2024
1.0.7 Stable 9–10 Jul 10, 2023
1.0.6 Stable 9–10 Jul 10, 2023