Make wrapped elements configurable by user

Created on 29 November 2015, over 9 years ago
Updated 2 June 2025, 3 months ago

A regular use case is to have icons inside a span on top of a picture to create an overlay effect when hovering. But linked field doesn't allow for the span or icon to be linked since there is no text inside of it. I think it would be a nice addon feature to allow the user to define which elements have to get wrapped inside of a link. This gives the user a lot more control over what gets linked.

The ideal solution for myself would be that no text gets wrapped automatically. But you have the option to define css selectors for extra elements to be wrapped inside a link.

Please let me know what you think. I'm willing to write a patch for this if you are okey with such a change. If so maybe it should become version 2.x because otherwise older sites might lose links.

Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇧🇪Belgium alexverb

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024