From e1e73e13d89f6c9be8e55c3f8c2659b9635da594 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 6 Nov 2023 21:31:01 +0100 Subject: [PATCH] double tool bar --- core/vendor/tinymce/init.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/vendor/tinymce/init.js b/core/vendor/tinymce/init.js index 79e668b..4660f9b 100644 --- a/core/vendor/tinymce/init.js +++ b/core/vendor/tinymce/init.js @@ -37,7 +37,11 @@ tinymce.init({ 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", + toolbar: [ + "fontselect fontsizeselect formatselect | bold italic strikethrough forecolor backcolor", + "link image ImgPen media | alignleft aligncenter alignright alignjustify | " + + "numlist bullist | outdent indent removeformat" + ], toolbar_sticky: true, fontsize_formats: "8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 30pt 36pt 48pt 60pt 72pt 96pt", @@ -88,7 +92,7 @@ tinymce.init({ // Pages internes link_list: baseUrl + "core/vendor/tinymce/links.php", // Contenu du menu contextuel - contextmenu: "exelink | inserttable | cell row column deletetable", + contextmenu: "inserttable | cell row column deletetable", // Fichiers CSS à intégrer à l'éditeur content_css: [ baseUrl + "core/layout/common.css",