From af3713be12c3d4e2d6c2e34ad259d9387ecdc4eb Mon Sep 17 00:00:00 2001 From: Stephan Kergomard Date: Tue, 12 Nov 2024 08:12:49 +0100 Subject: [PATCH] RTE: Toolbar Should Not Be Sticky See: --- Services/RTE/templates/default/tpl.tinymce.js | 2 +- Services/RTE/templates/default/tpl.tinymce_frm_post.js | 1 + Services/RTE/templates/default/tpl.usereditor.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Services/RTE/templates/default/tpl.tinymce.js b/Services/RTE/templates/default/tpl.tinymce.js index 6a16f0795af7..d4cb83102a79 100644 --- a/Services/RTE/templates/default/tpl.tinymce.js +++ b/Services/RTE/templates/default/tpl.tinymce.js @@ -182,7 +182,7 @@ tinymce.init({ menubar: false, toolbar: "{BUTTONS_1} {BUTTONS_2} {BUTTONS_3}", - toolbar_sticky: true, + toolbar_persist: true, toolbar_mode: 'wrap', valid_elements: "{VALID_ELEMENTS}", image_advtab: false, diff --git a/Services/RTE/templates/default/tpl.tinymce_frm_post.js b/Services/RTE/templates/default/tpl.tinymce_frm_post.js index f0318adf9e23..ed49a29dc712 100644 --- a/Services/RTE/templates/default/tpl.tinymce_frm_post.js +++ b/Services/RTE/templates/default/tpl.tinymce_frm_post.js @@ -154,6 +154,7 @@ tinymce.init({ menubar: false, toolbar: "{BUTTONS_1} {BUTTONS_2} {BUTTONS_3}", toolbar_sticky: true, + toolbar_persist: true, toolbar_mode: 'wrap', image_advtab: true, image_title: true, diff --git a/Services/RTE/templates/default/tpl.usereditor.js b/Services/RTE/templates/default/tpl.usereditor.js index 3b89e12bb7c0..d42155ef982a 100755 --- a/Services/RTE/templates/default/tpl.usereditor.js +++ b/Services/RTE/templates/default/tpl.usereditor.js @@ -13,6 +13,7 @@ tinymce.init({ plugins: "save", fix_list_elements: true, block_formats: "{BLOCKFORMATS}", + toolbar_persist: true, toolbar_location: "top", toolbar_align: "left", path_location: "bottom",