Allow attributes on links (target, id, class)

Created on 4 September 2024, 4 months ago
Updated 6 September 2024, 4 months ago

Problem/Motivation

Sites may want to enable the "Link (with attributes)" widget to open links in a new window. In this case we should support those attributes being passed to the link.

(Requested by YMCA of the National Capital Region)

Steps to reproduce

- Change CTA widget to "Link (with attributes)"
- Set a Card link to open in a new window
- Observe attributes are not passed.

Proposed resolution

- Use the attributes of the link in the template.
- Change the field widget
- Add update hooks

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States froboy Chicago, IL

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024