From 420121f5e1336a0455c9b29ecc8ec20067320c7b Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 15 Jul 2019 18:36:07 +0200 Subject: [PATCH] =?UTF-8?q?|9.2.01]=20aper=C3=A7u=20en=20direct=20du=20tex?= =?UTF-8?q?te=20personnalis=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/vendor/tinymce/init.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/vendor/tinymce/init.js b/core/vendor/tinymce/init.js index a64611f5..ea3d7b0b 100755 --- a/core/vendor/tinymce/init.js +++ b/core/vendor/tinymce/init.js @@ -4,6 +4,12 @@ tinymce.init({ // Classe où appliquer l'éditeur selector: ".editorWysiwyg", + // Aperçu dans le pied de page + setup:function(ed) { + ed.on('change', function(e) { + $("#footerText").html(ed.getContent()); + }); + }, // Langue language: "fr_FR", // Plugins