In an article use the xtd-editor media button to open the media manager.
Upload a pdf file that has spaces in the name eg "20 May 2021 Minutes.pdf"
Insert the file with the download option
Repeat the above with another pdf that this time has no spaces in it eg "20May2021Minutes.pdf"
Clickable links to download the pdf with the filename in the text
The file with spaces in it loses everything between the first and second space
I believe the relevant code is
joomla-cms/build/media_source/system/js/fields/joomla-media-select.w-c.es6.js
Lines 245 to 250 in f9cb42d
@dgrammatiko almost. It is now displayed with the %20 characters
const name = Joomla.selectedMediaFile.url.substr(0, Joomla.selectedMediaFile.url.lastIndexOf('.')).replace(/\%20/, ' ');
Still not right. I will leave it to someone else to fix
could I solve this?
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-06-22 16:00:24 |
Closed_By | ⇒ | brianteeman |