From 6e7ca5a4e513e3a3831b899811d1b5a0a500812c Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 25 Mar 2024 10:45:58 +0100 Subject: [PATCH] wait #6788 @00:10 --- resources/linkeditor/js/linkeditor.links.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/resources/linkeditor/js/linkeditor.links.js b/resources/linkeditor/js/linkeditor.links.js index 505ef5fb7..49332be2e 100644 --- a/resources/linkeditor/js/linkeditor.links.js +++ b/resources/linkeditor/js/linkeditor.links.js @@ -1557,6 +1557,7 @@ LinkeditorLinks.prototype = { setPreview: function(p) { const links = this.getLinksOfPage(1) + $.ajax({ url: '/fluidbook-publication/' + FLUIDBOOK_DATA.id + '/generatefont', type: 'post', @@ -1607,10 +1608,6 @@ LinkeditorLinks.prototype = { 'background-size': '100% 100%', 'background-position': '0 0', }) - } else if(linkData.type === '35') { - if(FONT_SIZE[linkData.uid] !== undefined) { - $("[data-id-preview=" + linkData.uid + "]").text(linkData.to).attr('style', FONT_SIZE[linkData.uid]) - } } } }, -- 2.39.5