The file matcher uses the old way of inserting links.

<a href="http://linkit8.dev/sites/default/files/2016-06/lorem.jpg">Example</a>

I.e. not using the data-entity-type and data-entity-uuid data attributes, and is inserting a full URL into the href attribute.

When this is fixed, the linkit_filter need to be able to parse the attributes and we have to make a treat file entities in a special way as file entities do not define "links" in the entity definition.

CommentFileSizeAuthor
#3 change_how_the_file-2753265-3.patch2.44 KBanon
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

anon created an issue. See original summary.

anon’s picture

I'm working on this and have a working solution but I need to write a test for this aswell.

anon’s picture

Status: Active » Needs work
FileSize
2.44 KB

  • anon committed b36841b on 8.x-5.x
    Issue #2753265 by anon: Change how the file matcher handles URL:s
    
anon’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.