diff options
Diffstat (limited to 'view/template-formulaires.php')
-rw-r--r-- | view/template-formulaires.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/view/template-formulaires.php b/view/template-formulaires.php index 7873500..d1d47c4 100644 --- a/view/template-formulaires.php +++ b/view/template-formulaires.php | |||
@@ -69,7 +69,9 @@ if($page_actuelle == 'discographie') | |||
69 | // barre d'outils à adapter au "custom build" | 69 | // barre d'outils à adapter au "custom build" |
70 | // la liste ici: lib/ckeditor5/src/ckeditor.js | 70 | // la liste ici: lib/ckeditor5/src/ckeditor.js |
71 | toolbar: { | 71 | toolbar: { |
72 | items: [ 'undo', 'redo', 'selectAll', '|', 'heading', '|', 'alignment', 'bulletedList', 'numberedList', 'todoList', 'blockQuote', 'horizontalLine', '-', 'bold', 'italic', 'underline', | 72 | items: [ 'undo', 'redo', 'selectAll', '|', 'heading', '|', 'alignment', 'bulletedList', 'numberedList', |
73 | //'todoList', | ||
74 | 'blockQuote', 'horizontalLine', '-', 'bold', 'italic', 'underline', | ||
73 | //'strikethrough', | 75 | //'strikethrough', |
74 | '|', | 76 | '|', |
75 | //'fontFamily', | 77 | //'fontFamily', |
@@ -149,8 +151,8 @@ if($page_actuelle == 'discographie') | |||
149 | // Headers supplémentaires envoyés avec la requête | 151 | // Headers supplémentaires envoyés avec la requête |
150 | // c'est ici qu'on installe les mécanismes de sécurités comme l'authentification et la protection au CSRF | 152 | // c'est ici qu'on installe les mécanismes de sécurités comme l'authentification et la protection au CSRF |
151 | headers: { | 153 | headers: { |
152 | 'X-CSRF-TOKEN': 'CSRF-Token', | 154 | //'X-CSRF-TOKEN': 'CSRF-Token', |
153 | Authorization: 'Bearer <JSON Web Token>' | 155 | //Authorization: 'Bearer <JSON Web Token>' |
154 | } | 156 | } |
155 | }, | 157 | }, |
156 | // formats acceptés par défaut: jpeg, png, gif, bmp, webp, tiff | 158 | // formats acceptés par défaut: jpeg, png, gif, bmp, webp, tiff |