Fix custom protocols in links in the rich text editor

What does this MR do and why?

When using the richt text editor in issues, merge requests, comments, etc., links with custom protocols are not registered as such. By default, the underlying library tiptap only allows certain protocols, this MR allows custom / unknown protocols as well to align the behavior with the markdown-based editor.

References

#512122 (closed) #606460

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Malte Bellmann

Merge request reports

Loading