Linkit for Link Field: "rel" and "target" settings are removed for internal links

Created on 26 March 2023, almost 2 years ago
Updated 9 March 2024, 10 months ago

Problem/Motivation

Since ✨ Linkit for Link field Fixed , Linkit provides a link formatter, which is a subclass of core's LinkFormatter.
It inherits 2 settings, (rel) and (rel), which can be set via checkboxes. But when passing an internal link to a link field, these settings are ignored.

Steps to reproduce

Configure a link field to use Linkit's formatter. Edit a node, select an internal page as target. Check at least one of the settings mentioned above. Save the node. View the page and inspect the link field => the link contains neither the rel nor the target attribute.

Remaining tasks

πŸ› Bug report
Status

Fixed

Version

6.1

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany mrshowerman Munich

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024