Description
At present the media processor assumes content should be embeded using a <media> tag. This is generally fine, however in some instances an inline link embedded in a more traditional format is desirable (e.g: <a href="link/to/file.pdf">link text</a>)
This is due to the nature of the media module in Drupal being difficult to render in an inline fora
Proposed solution
Add support for Linkit module (which can do link replacement based on media uuid)
Additional context
Linkit markup:
<p>This is a <a data-entity-substitution="media" data-entity-type="media" data-entity-uuid="312e3e50-b99f-4e82-9145-f08d32b54249" href="#">file</a> that is linked via linkit.</p>
Description At present the media processor assumes content should be embeded using a
<media>
tag. This is generally fine, however in some instances an inline link embedded in a more traditional format is desirable (e.g:<a href="link/to/file.pdf">link text</a>
)This is due to the nature of the media module in Drupal being difficult to render in an inline fora
Proposed solution Add support for Linkit module (which can do link replacement based on media uuid)
Additional context Linkit markup: