From b1b60208443ff76e2b70d6572be2227829de4cbb Mon Sep 17 00:00:00 2001 From: firm1 Date: Sun, 8 Nov 2020 16:27:27 +0100 Subject: [PATCH] =?UTF-8?q?Corrige=20le=20mode=20compatibilit=C3=A9=20(#59?= =?UTF-8?q?88)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix #5987 : corrige la disparition de la zone de texte * utilisation d'un texte plus parlant Co-authored-by: Situphen --- assets/js/editor-new.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/editor-new.js b/assets/js/editor-new.js index 9749ede646..9198432095 100644 --- a/assets/js/editor-new.js +++ b/assets/js/editor-new.js @@ -660,8 +660,8 @@ } easyMDE.codemirror.refresh() }, - className: 'fas fa-broom', - title: 'Passe au mode compatibilité' + className: 'fas fa-remove-format', + title: 'Zone de texte sans mise en forme' }, '|', { @@ -801,7 +801,7 @@ function mirroringEasyMDE(easyMDE, textarea) { }, 12) // <-- after default trigger (I mean after browser trigger) }) - $(easyMDE.element.parentElement).children('.editor-statusbar').before($twin) + $(easyMDE.element.parentElement).find('.editor-statusbar').before($twin) return $twin }