Skip to main content
New Idea

Support custom schemes for URLs inserted in solution articles

Related products:Freshservice
  • February 17, 2023
  • 0 replies
  • 47 views

Quentin L.
Apprentice
Forum|alt.badge.img

When writing solution articles, one may need to insert URLs to give easy access to external resources. While that works fine for HTTP(S) links, the editor does not seem to support custom schemes at the moment.

A scheme simply refers to the “http” or “https” part of the link. Here’s a list of commonly known schemes that are generally supported:

  • http
  • https
  • mailto
  • tel

In addition to that, and because it’s standard to do so, it would be great to provide full support for custom schemes in URLs inserted in solutions articles. For example, here are schemes which could come in handy when giving quick links to readers:

In the current version of the editor, it seems that whenever you insert a URL, it looks for an “http(s)” at the beginning. When none is found, it’ll HTML-encode the link, thinking it’s just a relative path. Doing so prevents the possibility to insert custom schemes as starting with “ms-settings:workplace” for example will be re-written in “ms-settings%3Aworkplace”. That rewrite will ultimately not work as intended.