Problem/Motivation
The template included with this module overrides the one that comes with entity_embed module but does not display the url_attributes as that template does.
Steps to reproduce
Embed an image and link it to a URL to open in a new window. The _target attribute does not get output.
Proposed resolution
Include {{ url_attributes|default('') }} in the template.
Remaining tasks
I just need to make the patch so I can post it here.
User interface changes
none
API changes
none
Data model changes
none
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | entity_embed_link-attributes_in_template-3179455-1.patch | 554 bytes | benstallings |
Comments
Comment #2
benstallings commentedHere is the patch for review.
Comment #3
berramou commentedThe module entity_embed doesn't display url_attributes in template
https://git.drupalcode.org/project/entity_embed/-/blob/8.x-1.x/templates...
Comment #4
berramou commented