Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293207

Allow absolute URLs to be generated using the editor_file_reference filter

$
0
0

Problem/Motivation

Hello. When using markup obtained via the API from fields like text_*, a problem often arises with relative paths in images.

In order not to solve this problem every time at the project level, I suggest introducing this option into the kernel, since the kernel already handles file references in the editor_file_reference filter, you just need to add the configuration for the "createFileUrl" method parameter.

Steps to reproduce

Proposed resolution

Add a setting to the editor_file_reference filter to convert URLs to absolute ones.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

None.


Viewing all articles
Browse latest Browse all 293207

Trending Articles