From efa37f996c8493fe54af4352306d8623e2722243 Mon Sep 17 00:00:00 2001 From: polo Date: Sat, 11 Jan 2025 11:38:59 +0100 Subject: =?UTF-8?q?mention=20licenseKey=20GPL=20maintenant=20n=C3=A9c?= =?UTF-8?q?=C3=A9ssaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installation dans une application PHP.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'installation dans une application PHP.txt') diff --git a/installation dans une application PHP.txt b/installation dans une application PHP.txt index 210902c..fb5d3a6 100644 --- a/installation dans une application PHP.txt +++ b/installation dans une application PHP.txt @@ -2,8 +2,9 @@ cd "mon projet" git clone git@ordipolo.fr:ckeditor5 -copier tout son contenu (sauf le .git) dans le dossier racine, attention quand un index.php existe déjà +copier tout son contenu (sauf le .git) dans le dossier racine de notre application et supprimer le dossier source rm -r ckeditor5 --interactive=never +attention quand un index.php existe déjà npm install ckeditor5 composer require htmlawed/htmlawed @@ -24,8 +25,13 @@ data/page/images/chirurgien jaune.jpg 2/ à vérifier: créer un lien symbolique comme ceci (commande pour debian): + +chemin absolu ln -s /var/www/ckeditor5/node_modules/ckeditor5/dist/translations /var/www/ckeditor5/node_modules/ckeditor5/dist/browser/ +chemin relatif de la racine de l'appli: +ln -s ../translations node_modules/ckeditor5/dist/browser/ + ça régle un problème de chemin rencontré à la ligne: import coreTranslations from 'ckeditor5/translations/fr.js'; dans lib/ckeditor5/template.php gràce à un lien symbolique, le programme s'attend à trouver un dossier "translations" dans "browser" -- cgit v1.2.3