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
Ruby Text can be a bit of a hassle to edit... Yes, I can imagine that. No idea, how an editor dialog (or whatever) for easier editing of those should look like - in terms of...
Specific tags to work in CKEditor 5
"why are these tags only relevant for admins?" I'm allowing the editor as well. That being said, Ruby Text can be a bit of a hassle to edit... easy to accidentally delete a tag or part of a...
Specific tags to work in CKEditor 5
Out of curiosity: why are these tags only relevant for admins? Don't "regular" editors on that site also need them under circumstances? Yes, the editors play nicely, no problem to...
Specific tags to work in CKEditor 5