Description of the need
This is a follow-up to https://github.com/backdrop/backdrop-issues/issues/4630. The idea is to be able to more easily track and update internal paths if they appear in text that's passing through filters.
Proposed solution
Make it work like the file upload, which produces something like:
<p><a data-file-id="7" href="/files/inline-files/document.pdf">document</a></p>
In this case the ID would have to be the pid in url_alias table.
Alternatives that have been considered
Maybe it's possible for the filter dialog to strip the leading slash and possibly decode the path to find a possible match. But that's more difficult than just looking for the alias via the pid.
Recent comments
@themetman Good to hear your solution. May be helpful for others in the future.
Write Permission Problems on files, ../private and /tmp on my Laptop
It was the ProtectHome setting in the apache service which was the problem. I did this: systemctl edit apache2.service Then added this: [Service] ProtectHome=no...
Write Permission Problems on files, ../private and /tmp on my Laptop
I don't have leaflet, but I have experienced random disappearances of the bar over the years. I quit spending time on it, but not before adjusting the css spacing, which did reduce the number of...
Disappearing administration bar. Is this a Leaflet or a Backdrop bug?