aboutsummaryrefslogtreecommitdiff
path: root/public/js/tinymce.js
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-09-18 00:27:20 +0200
committerpolo <ordipolo@gmx.fr>2025-09-18 00:27:20 +0200
commitfa3c582a2bd91433399a5b275616052028a5a011 (patch)
tree64a5c2c0eb54dc033fb5ed78ed69745bd492aa05 /public/js/tinymce.js
parent027af942de75f7c5bc519fabfa5fa11de9bc89ea (diff)
downloadcms-fa3c582a2bd91433399a5b275616052028a5a011.zip
news positionnées en fonction de leur date, suppression de leurs boutons position, améliorations routage page article, bouton share en bas pour les news
Diffstat (limited to 'public/js/tinymce.js')
-rw-r--r--public/js/tinymce.js6
1 files changed, 5 insertions, 1 deletions
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 }