# An external link added with out protocol defaults to http not https in the RTE Umbraco 13

**URL:** <https://forum.umbraco.com/t/an-external-link-added-with-out-protocol-defaults-to-http-not-https-in-the-rte-umbraco-13/8029>\
**Category:** Questions\
**Tags:** v13\
**Created:** [May 13, 2026, 10:14am UTC](https://forum.umbraco.com/t/an-external-link-added-with-out-protocol-defaults-to-http-not-https-in-the-rte-umbraco-13/8029 "2026-05-13T10:14:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![justin-nevitech](https://forum.umbraco.com/user_avatar/forum.umbraco.com/justin-nevitech/32/6219_2.png) [@justin-nevitech](https://forum.umbraco.com/u/justin-nevitech)\
**Post date:** [May 13, 2026, 10:42am UTC](https://forum.umbraco.com/t/an-external-link-added-with-out-protocol-defaults-to-http-not-https-in-the-rte-umbraco-13/8029/3 "2026-05-13T10:42:37Z")

</div>

Hi @charlesa-ccs

It looks like Umbraco prefixes http:// when no scheme is entered and this is done in the old Angular code for TinyMCE under Umbraco 13. The link\_default\_protocol option in TinyMCE is not used as Umbraco does not use the native TinyMCE link modal.

You will either need to replace the Angular code that does this or write a ContentSavingNotificationHandler that updates the URLs when the content is saved server side.

The AI suggestion is to create your own Angular service:

```auto
angular.module("umbraco.services").config([
    "$provide",
    function ($provide) {
        $provide.decorator("tinyMceService", [
            "$delegate",
            function ($delegate) {
                var original = $delegate.insertLinkInEditor;
                $delegate.insertLinkInEditor = function (editor, target, anchorElm) {
                    if (target && target.url && typeof target.url === "string") {
                        var url = target.url;
                        var isAbsolute = /^[a-z][a-z0-9+\-.]*:\/\//i.test(url);
                        var isRelative = url.startsWith("/") || url.startsWith("#")
                                       || url.startsWith("mailto:") || url.startsWith("tel:");
                        if (!isAbsolute && !isRelative) {
                            target.url = "https://" + url;
                        }
                    }
                    return original.apply(this, arguments);
                };
                return $delegate;
            }
        ]);
    }
]);

```

and register it in your package.manifest file.

```auto
{
  "javascript": [
    "~/App_Plugins/YourPackage/yourplugin.js"
  ]
}

```

I’ve not tested this though.

Justin

---

_[View the full topic](https://forum.umbraco.com/t/an-external-link-added-with-out-protocol-defaults-to-http-not-https-in-the-rte-umbraco-13/8029)._
