Skip to Main Content
Optimizely CAB Portal
5 VOTE
Status Investigating
Created by Guest
Created on Oct 11, 2024

Display "Link URL" field on custom elements with a href attribute

Today, when selecting an <a>-element in the visual editor, a Link URL fields appears so that editor can change the href.

We are running custom web components for links on our site, they can look something like this: <gds-button href="./link">Title</gds-button>

When selecing gds-button, its possible to edit the Title in the Visual Editor but not the Link URL.

There are workarounds such as modifiyng the whole html or using script. But this is not optimal for editors without coding knowledge. Therefor it would be very useful if the Link URL field could be shown for all element types as long as they have an href attribute.

  • Attach files
  • Admin
    Russell Loube
    Reply
    |
    Oct 14, 2024

    Hey @Guest , I moved this feedback over to the Web Experimentation team for their review! Thanks for sharing your feedback.

    1 reply