Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When editing a link, the data- attributes will in some situations be kept in the old state.
Steps to reproduce:
- Add an internal link to an entity (entity:node/1)
- The data- attributes will be set
- Edit that link, and set an external URL as href.
- The data- attributes is the same as before.
This causes the linkit_filter to always override the href.
Expected behavior:
- Add an internal link to an entity (entity:node/1)
- The data- attributes will be set
- Edit that link, and set an external URL as href.
- The data- attributes removed.
Comments
Comment #3
anon