Wagtail - add custom link option

I would like to customize External link type in Wagtail links in admin RichText field - I need to change (or at least disable) the link validation (e.g., to my custom regex) in admin frontend, as my links have different format to https://<something>.

Does anybody know how to do that without forking wagtail and making own addition in this and this file? Any help would be appreciated.

how I envision this

Вернуться на верх