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
The horrors of cut/paste! Brilliant, thanks.
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value:
The issue could be related to the Emojis in the body field. Can you check the Status report (admin/reports/status) for the item MySQL Database 4-byte UTF-8 support? To display Emojis, 4-byte UTF...
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value:
@argiepiano, thanks a lot! For Webform it will be always "webform_client_form_NID", correct?
How to add Webform ID to Captcha module?