summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/css/body.css9
-rw-r--r--public/js/tinymce.js2
2 files changed, 10 insertions, 1 deletions
diff --git a/public/css/body.css b/public/css/body.css
index 20e53e0..226e610 100644
--- a/public/css/body.css
+++ b/public/css/body.css
@@ -105,6 +105,15 @@ article .logo2
105 /*max-height: 400;*/ 105 /*max-height: 400;*/
106 overflow: hidden; 106 overflow: hidden;
107} 107}
108.new_content button
109{
110 cursor: pointer;
111}
112.new_content button:hover
113{
114 background-color: #ffff00;
115 border-radius: 4px;
116}
108article img 117article img
109{ 118{
110 max-width: 100%; /* règle compliquée, vérifier selon la page et la taille de l'image */ 119 max-width: 100%; /* règle compliquée, vérifier selon la page et la taille de l'image */
diff --git a/public/js/tinymce.js b/public/js/tinymce.js
index 88d8474..307c384 100644
--- a/public/js/tinymce.js
+++ b/public/js/tinymce.js
@@ -175,7 +175,7 @@ function submitArticle(id, page = '', clone = null)
175 // clic sur "tout enregistrer" 175 // clic sur "tout enregistrer"
176 if(id[0] === 'n' && page === 'article'){ 176 if(id[0] === 'n' && page === 'article'){
177 const prefixes = ['t', 'p', 'i', 'd']; 177 const prefixes = ['t', 'p', 'i', 'd'];
178 const allElemsWithId = document.querySelectorAll('[class="data"]'); 178 const allElemsWithId = document.querySelectorAll('.data');
179 content = {}; 179 content = {};
180 var id_from_builder; 180 var id_from_builder;
181 181