Problem/motivation
Linkit adds data-entity-type="external" to external URLs, which causes the Entity share module to break when syndicating content ( reported in https://www.drupal.org/project/entity_share/issues/3551951 )
Steps to reproduce
Set up a server site and client site with entity share module, and relevant channels to synchronise content across the two sites. When a node that is to be synchronised includes an external link with this attributes, the entity share module throws an error and the syndication does not occur.
Proposed resolution
Include a configuration option to not add the external attribute, as this is not an actual entity type.
Issue fork linkit-3560913
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
telegraph commentedWould there be a way to make adding
data-entity-type="external"to external URLs optional or de-activate it?Comment #5
mark_fullmerAt this point in time, Linkit does not need the
data-entity-typeto indicate "external" for external links. This was added as a workaround, and its removal will have no negative effects on the metadata or processing of links. I've opened a merge request to remove it.Comment #6
mark_fullmer