From 0a66bbb293d1d2bd5ae32eb70eb4f780582a1bfb Mon Sep 17 00:00:00 2001 From: Rasmus John Pedersen Date: Tue, 9 Apr 2019 10:52:37 +0200 Subject: [PATCH] Use localLink for media --- .../src/common/services/tinymce.service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js b/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js index ce4bf6077c..cb48315a53 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js @@ -986,8 +986,8 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s return; } - //if we have an id, it must be a locallink:id, aslong as the isMedia flag is not set - if (id && (angular.isUndefined(target.isMedia) || !target.isMedia)) { + //if we have an id, it must be a locallink:id + if (id) { href = "/{localLink:" + id + "}";