Extlink title overrides Link Attributes title

Created on 5 May 2025, 10 days ago

Problem/Motivation

When using the link attributes module in combination with Extlink, Extlink is overriding the title which is entered by the user.

Steps to reproduce

1. Install Extlink and https://www.drupal.org/project/link_attributes
2. Configure a Link field and choose the widget "Link (with attributes)"
3. Create content with the link field, add a custom link title
4. See the link title is replaced with "(opens in a new window)"

Proposed resolution

I think the title "(opens in a new window)" is not required on the link. The extlink icon itself already has a title.
Other idea: Check if the link already has a title text and don't override it in this case.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024