- Issue created by @lily.yan
- Status changed to Needs review
12 months ago 6:31pm 12 September 2023 - last update
12 months ago 83 pass
Users may want to prevent certain URLs from being added as links - for example, links to sites that are in a testing environment.
Say you want to avoid 'https://staging.example.com' - currently, nothing prevents this.
Create a 'Disallowed URLs' matcher for disallowed URLs. Allow configuring what URLs should be disallowed, and what the message should be. When adding these disallowed URLs in the LinkIt dialog box, the suggestion should show the configured message, and clicking on it should blank out the URL. If people enter a disallowed URL without clicking on the suggestion, it should prevent submission, and display the message.
A patch adding a disallowed URLs matcher is coming shortly.
Needs review
7.0
Code