I may be missing something obvious but how do I link an entity?

Whenever I try
<a href="someURL"><drupal-entity ...>....</drupal-entity></a>
The href gets stripped out.

Thanks for any assistance.

Comments

ksavoie created an issue. See original summary.

slashrsm’s picture

Issue tags: +D8Media

Something like this is not supported. You might want to try Field formatter . "Link field formatter" should allow you to achieve what you want.

anybody’s picture

Well ok that's bad. Drupal 7 had this in media embed if I remember correctly. It was added together with the align option. It's definitely needed. Any workarounds or plans?

renrhaf’s picture

+1 for any workarounds or fixes.
This is a major issue in the content editor's experience, when using entity embed to add images, files etc to WYSIWYG fields.

amaisano’s picture

wim leers’s picture