diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/css/body.css | 12 | ||||
-rw-r--r-- | public/js/tinymce.js | 6 |
2 files changed, 11 insertions, 7 deletions
diff --git a/public/css/body.css b/public/css/body.css index d60f28c..f8e4f81 100644 --- a/public/css/body.css +++ b/public/css/body.css | |||
@@ -7,10 +7,6 @@ body | |||
7 | background-color: #0cceec; | 7 | background-color: #0cceec; |
8 | } | 8 | } |
9 | 9 | ||
10 | .hidden{ | ||
11 | display: none; | ||
12 | } | ||
13 | |||
14 | #bloc_page | 10 | #bloc_page |
15 | {} | 11 | {} |
16 | 12 | ||
@@ -176,8 +172,7 @@ button .action_icon:hover | |||
176 | } | 172 | } |
177 | .delete_button | 173 | .delete_button |
178 | { | 174 | { |
179 | float: right; | 175 | margin-right: 2px; |
180 | margin-left: 2px; | ||
181 | } | 176 | } |
182 | section button, section input[type=submit] | 177 | section button, section input[type=submit] |
183 | { | 178 | { |
@@ -238,4 +233,9 @@ article a:hover | |||
238 | { | 233 | { |
239 | grid-template-columns: repeat(2, 1fr); | 234 | grid-template-columns: repeat(2, 1fr); |
240 | } | 235 | } |
236 | } | ||
237 | |||
238 | .article_admin_zone p | ||
239 | { | ||
240 | align-self: center; | ||
241 | } \ No newline at end of file | 241 | } \ No newline at end of file |
diff --git a/public/js/tinymce.js b/public/js/tinymce.js index d6b0bf8..81ba8ea 100644 --- a/public/js/tinymce.js +++ b/public/js/tinymce.js | |||
@@ -332,7 +332,11 @@ class Editor | |||
332 | content = this.tiny_instance.getContent(); | 332 | content = this.tiny_instance.getContent(); |
333 | } | 333 | } |
334 | 334 | ||
335 | let fetch_params = {id: this.id, content: content}; | 335 | let fetch_params = { |
336 | id: this.id, | ||
337 | content: content, | ||
338 | from: new URLSearchParams(window.location.search).get('from') // le "$_GET" de javascript | ||
339 | }; | ||
336 | if(this.placement){ | 340 | if(this.placement){ |
337 | fetch_params['placement'] = this.placement; | 341 | fetch_params['placement'] = this.placement; |
338 | } | 342 | } |