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
Check out this post re: tempstore: https://forum.backdropcms.org/forum/tempstore-table
Which database tables can I saftely empty before DB backup
Hi. I use the "[node:title] | [site:name]" tokens for the main image of news articles, blog posts, and similar publications. It's a quick and practical automatic ALT.
How to Improve SEO Performance in Backdrop CMS
I understand how tokens work, but not so much their practical use in image alt/text (maybe caption?) text. Could you give an example or two?
How to Improve SEO Performance in Backdrop CMS