From 6ab915527ccb2fbf5334d5d6fe3423887ca6a136 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 6 Oct 2023 20:41:42 +0200 Subject: [PATCH] fix Tinymce theme.css path --- core/vendor/tinymce/init.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/vendor/tinymce/init.js b/core/vendor/tinymce/init.js index 20370b4..5fd12dd 100644 --- a/core/vendor/tinymce/init.js +++ b/core/vendor/tinymce/init.js @@ -35,7 +35,6 @@ tinymce.init({ insert: {title: 'Insert', items: 'template | nonbreaking hr charmap anchor | abbr insertdatetime '}, format: {title: 'Format', items: 'underline strikethrough superscript subscript | forecolor backcolor | formats | removeformat'}, table: {title: 'Table', items: 'inserttable tableprops deletetable | cell row column'}, - }, // Contenu de la barre d'outils toolbar: "ndo redo | bold italic strikethrough | h1 h2 h3 | alignleft aligncenter alignright alignjustify | link | bullist numlist | image media | fullscreen", @@ -94,7 +93,7 @@ tinymce.init({ content_css: [ baseUrl + "core/layout/common.css", baseUrl + "core/vendor/tinymce/content.css", - baseUrl + "site/data/" + getCookie('ZWII_SITE_CONTENT') === null ? "home" : getCookie('ZWII_SITE_CONTENT') + "theme.css", + baseUrl + "site/data/" + getCookie('ZWII_SITE_CONTENT') === null ? "home" : "site/data/" + getCookie('ZWII_SITE_CONTENT') + "/theme.css", baseUrl + "site/data/custom.css" ], // Classe à ajouter à la balise body dans l'iframe