diff options
| author | polo <ordipolo@gmx.fr> | 2025-03-23 22:54:42 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-03-23 22:54:42 +0100 |
| commit | ee3c6ec8320e47e96a838e077329e3f68c2da83a (patch) | |
| tree | 5f999a784ec02d4f96c3a1e2daf823a8e9d99e38 | |
| parent | 1f8e8554a3f7f9395835210d7c04cc742cf9c771 (diff) | |
| download | tinymce-ee3c6ec8320e47e96a838e077329e3f68c2da83a.tar.gz tinymce-ee3c6ec8320e47e96a838e077329e3f68c2da83a.tar.bz2 tinymce-ee3c6ec8320e47e96a838e077329e3f68c2da83a.zip | |
paquets de langue gérés avec composer, installer tweeb/tinymce-i18n
| -rw-r--r-- | public/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
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'){ | |||
| 89 | 89 | ||
| 90 | tinymce.init({ | 90 | tinymce.init({ |
| 91 | selector: `#${articleId}`, | 91 | selector: `#${articleId}`, |
| 92 | language: 'fr_FR', // télécharger le paquet correspondant ici: https://www.tiny.cloud/get-tiny/language-packages/ | 92 | language: 'fr_FR', // télécharger des paquets de langue ici: https://www.tiny.cloud/get-tiny/language-packages/ |
| 93 | language_url: '../vendor/tweeb/tinymce-i18n/langs/fr_FR.js', // ou installer tweeb/tinymce-i18n avec composer | ||
| 93 | license_key: 'gpl', | 94 | license_key: 'gpl', |
| 94 | branding: false, | 95 | branding: false, |
| 95 | plugins: 'lists link autolink table image media autoresize help', | 96 | plugins: 'lists link autolink table image media autoresize help', |
