Closed (fixed)
Project:
Media entity document
Version:
8.x-1.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Jul 2016 at 06:59 UTC
Updated:
10 Aug 2016 at 19:14 UTC
Jump to comment: Most recent
Comments
Comment #2
marcoscanoHave you tried the Field Formatter module?
One possible solution (not sure if the only one) is to use that module to help with the formatter you need.
With that module installed (make sure you install a recent version, this new feature was added recently), you can configure your setup the following way:
1- In your document media entity, create a viewmode (or use the default) with only the document field visible
2- Configure the formatter of this field to be rendered as "Field linker", leave the formatter config as default
3- When embedding the document, choose the formatte "Rendered entity" and select the viewmode on the media entity that you just configured before.
The result will be a direct link to the document, embedded into your wisywig text.
Comment #3
NerOcrO commented