Problem/Motivation

When migrating from drupal 8.9 to drupal 9.2, it is necessary to upgrade to module version 8.x-5.0-beta12.
This module in the EntityMatcher autocomplete that is used in the link fields, does not return the url with the alias, instead it returns node/xx. And that value remains in the wisywig inside the ckeditor.

Steps to reproduce

1. Update the modulo to it's version 8.x-5.0.
2. Edit content that has a basic_html format text field.
3. Add a link.
4. In the URL field Search for some content and select it
5. The Url vale remains as node/xx

Proposed resolution

It is better to always return the alias of the content, it is clearer for the user and the search engines.
I have applied a patch to the module to return the url alias in case the content has url aliases.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

yovanny.gomez.oyola created an issue. See original summary.

yovanny.gomez.oyola’s picture

StatusFileSize
new707 bytes
idebr’s picture

The LinkIt module comes with a `Linkit URL converter` filter plugin to convert the internal path to its URL alias. The Filter plugin approach has the additional benefit the URL alias is automatically updated when the linked node is updated.

seanb’s picture

Status: Needs review » Closed (duplicate)