Type Button aka Link-IntExt - Condition for target: "_blank" links is wrong

Created on 8 November 2023, about 1 year ago
Updated 9 November 2023, about 1 year ago

Problem/Motivation

We check for {% if paragraph.field_paragraphs_link.0.url.external %} what is wrong. This value identifies external links (https://....).

Steps to reproduce

Proposed resolution

We need to check for paragraph.field_paragraphs_link.0.url.options.attributes.target == 'blank' instead.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

4.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