diff options
author | polo <ordipolo@gmx.fr> | 2022-02-20 20:49:13 +0100 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2022-02-20 20:49:13 +0100 |
commit | 758b3f359341f963946d6d34e8f39d2a9c1f6040 (patch) | |
tree | 3efb7f1da4be4157615419e630eb0d6efbcb6c3d /view | |
parent | a5ddb2af05644972de70dab3225bab0797a93934 (diff) | |
download | melaine-758b3f359341f963946d6d34e8f39d2a9c1f6040.zip |
debuggage
Diffstat (limited to 'view')
-rw-r--r-- | view/template-formulaires.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/view/template-formulaires.php b/view/template-formulaires.php index a3dc9cd..af37013 100644 --- a/view/template-formulaires.php +++ b/view/template-formulaires.php | |||
@@ -68,6 +68,7 @@ if($page_actuelle == 'discographie') | |||
68 | language: 'fr', | 68 | language: 'fr', |
69 | 69 | ||
70 | // barre d'outils à adapter au "custom build" | 70 | // barre d'outils à adapter au "custom build" |
71 | // la liste ici: lib/ckeditor5/src/ckeditor.js | ||
71 | toolbar: { | 72 | toolbar: { |
72 | items: [ 'undo', 'redo', 'selectAll', '|', 'heading', '|', 'alignment', 'bulletedList', 'numberedList', 'todoList', 'blockQuote', 'horizontalLine', '-', 'bold', 'italic', 'underline', | 73 | items: [ 'undo', 'redo', 'selectAll', '|', 'heading', '|', 'alignment', 'bulletedList', 'numberedList', 'todoList', 'blockQuote', 'horizontalLine', '-', 'bold', 'italic', 'underline', |
73 | //'strikethrough', | 74 | //'strikethrough', |
@@ -89,10 +90,15 @@ if($page_actuelle == 'discographie') | |||
89 | // barre d'outils dans une image | 90 | // barre d'outils dans une image |
90 | image: { | 91 | image: { |
91 | toolbar: [ | 92 | toolbar: [ |
92 | 'imageTextAlternative', | 93 | //'imageStyle:full', //inutile? |
93 | 'imageStyle:full', | 94 | 'imageStyle:block', |
95 | //'imageStyle:inline', // complexe, on peut aussi placer l'image à la souris | ||
94 | 'imageStyle:side', | 96 | 'imageStyle:side', |
95 | 'linkImage' | 97 | /*'imageStyle:align-left', |
98 | 'imageStyle:align-right',*/ | ||
99 | //'imageResize', // optionnel, on a les poignées dans les coins de l'image | ||
100 | 'linkImage', | ||
101 | 'imageTextAlternative' | ||
96 | ] | 102 | ] |
97 | }, | 103 | }, |
98 | 104 | ||