From ee3c6ec8320e47e96a838e077329e3f68c2da83a Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 23 Mar 2025 22:54:42 +0100 Subject: =?UTF-8?q?paquets=20de=20langue=20g=C3=A9r=C3=A9s=20avec=20compos?= =?UTF-8?q?er,=20installer=20tweeb/tinymce-i18n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index 3708539..4c0201a 100644 --- a/public/index.php +++ b/public/index.php @@ -89,7 +89,8 @@ elseif(isset($_GET['action']) && $_GET['action'] == 'upload_image'){ tinymce.init({ selector: `#${articleId}`, - language: 'fr_FR', // télécharger le paquet correspondant ici: https://www.tiny.cloud/get-tiny/language-packages/ + language: 'fr_FR', // télécharger des paquets de langue ici: https://www.tiny.cloud/get-tiny/language-packages/ + language_url: '../vendor/tweeb/tinymce-i18n/langs/fr_FR.js', // ou installer tweeb/tinymce-i18n avec composer license_key: 'gpl', branding: false, plugins: 'lists link autolink table image media autoresize help', -- cgit v1.2.3