From 2e7aa11211a427e2f12969ef1e36058341fc9cd9 Mon Sep 17 00:00:00 2001 From: Shannon Date: Tue, 7 May 2019 15:47:40 +1000 Subject: [PATCH] Adds TODO, removes the data-udi or data-id attribute from inserted links --- .../src/common/services/tinymce.service.js | 7 +------ 1 file changed, 1 insertion(+), 6 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 a05371fd07..61f96fed28 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 @@ -431,6 +431,7 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s } else { //Considering these fixed because UDI will now be used and thus // we have no need for rel http://issues.umbraco.org/issue/U4-6228, http://issues.umbraco.org/issue/U4-6595 + //TODO: Kill rel attribute data["rel"] = img.id; data["data-id"] = img.id; } @@ -964,12 +965,6 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s rel: target.rel ? target.rel : null }; - if (hasUdi) { - a["data-udi"] = target.udi; - } else if (target.id) { - a["data-id"] = target.id; - } - if (target.anchor) { a["data-anchor"] = target.anchor; a.href = a.href + target.anchor;