Linkit media with title instead of media/[id]

Created on 29 September 2021, over 3 years ago
Updated 16 January 2025, 6 days ago

Problem/Motivation

I use following patch https://www.drupal.org/files/issues/2020-09-11/2741945-85.patch β†’ from folling issue: https://www.drupal.org/project/drupal/issues/2961554 ✨ Display node title by default when creating link with drupalink, allow configuration. Needs work

I want the same behaviour when selecting a document.
This behaviour is that it shows the title instead of /media/id.

Steps to reproduce

Add a media file from linkit in wysiwyg you will see media/id instead of the title

Proposed resolution

Use the default_text from the patch and add it to the getSelectionResponse

✨ Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium ghuygens

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024