summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-03-23 15:25:18 +0100
committerpolo <ordipolo@gmx.fr>2025-03-23 15:25:18 +0100
commit48fcf626c68b3341927e8111f731cc6064717d45 (patch)
tree42e5aa82c11d088d479ad467b8ddfc063811dd40 /public
parenta2bfa172e9184f220469a40611d70177e9c02bca (diff)
downloadtinymce-48fcf626c68b3341927e8111f731cc6064717d45.zip
passage à la version composer
Diffstat (limited to 'public')
-rw-r--r--public/index.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/public/index.php b/public/index.php
index 233d85d..0c4c5f1 100644
--- a/public/index.php
+++ b/public/index.php
@@ -20,7 +20,6 @@ if(isset($_GET['action']) && $_GET['action'] == 'editor_submit'){
20elseif(isset($_GET['action']) && $_GET['action'] == 'delete_article'){ 20elseif(isset($_GET['action']) && $_GET['action'] == 'delete_article'){
21 // récupération des données 21 // récupération des données
22 $post = json_decode(file_get_contents('php://input'), true); 22 $post = json_decode(file_get_contents('php://input'), true);
23 //echo $post['id'];
24 23
25 if(json_last_error() === JSON_ERROR_NONE){ 24 if(json_last_error() === JSON_ERROR_NONE){
26 // Traitement côté serveur 25 // Traitement côté serveur
@@ -63,7 +62,6 @@ elseif(isset($_GET['action']) && $_GET['action'] == 'upload_image'){
63 } 62 }
64 die; 63 die;
65} 64}
66
67?> 65?>
68<!DOCTYPE html> 66<!DOCTYPE html>
69<html lang="fr"> 67<html lang="fr">
@@ -78,14 +76,8 @@ elseif(isset($_GET['action']) && $_GET['action'] == 'upload_image'){
78 .hidden{ 76 .hidden{
79 display: none; 77 display: none;
80 } 78 }
81 figure .align-center{
82
83 }
84 figcaption {
85
86 }
87 </style> 79 </style>
88 <script src="../node_modules/tinymce/tinymce.min.js"></script> 80 <script src="../vendor/tinymce/tinymce/tinymce.min.js"></script>
89 <!-- peut-être qu'on devra utiliser un lien symbolique vers ce fichier dans /public --> 81 <!-- peut-être qu'on devra utiliser un lien symbolique vers ce fichier dans /public -->
90 <script> 82 <script>
91 let editors = {}; 83 let editors = {};