Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#1942688: Documents embedded in WYSIWYG get converted to HTML by the editor provides a way to override link text when embedding a document in the WYSIWYG. If you choose not to specifically override the link text, it would be nice if the link text would inherit from the title/name of the file entity.
Comments
Comment #1
bneil CreditAttribution: bneil commentedPostponed until #1942688: Documents embedded in WYSIWYG get converted to HTML by the editor is committed.
Comment #2
bneil CreditAttribution: bneil commentedComment #3
kamirura CreditAttribution: kamirura commentedI think this is what I'm looking for. When I embedd a document through the wysiwyg with the media browser I want to choose a text instead of the link name. Example: Link name is myfile.pdf which is clickable but I want it to say "My file" and still be clickable. Is this still not possible?
Comment #4
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedRecent versions of media have resolved most of peoples concerns and is compatible with entity translation, multilingual and various advanced configurations. Due to the high volume of inactive and most often irrelevant issues we are Closing this as (outdated). If for whatever reason this issue is important to you AND you still have issues after checking the media recipe documentation, then let us know and we will review your concerns.
Otherwise, see the recipe documentation for how to configure media and for troubleshooting tips OR refer to the media_dev distribution if you want to see a working media setup.
As mentioned, feel free to make some noise in this issue if you still feel it is important to you or someone else.
Thanks,
Media team