From 3674515ed5f5b394226954a646d5748419511e7d Mon Sep 17 00:00:00 2001 From: polo-pc-greta Date: Mon, 12 May 2025 13:48:31 +0200 Subject: petit bug --- public/css/body.css | 9 +++++++++ public/js/tinymce.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'public') 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 /*max-height: 400;*/ overflow: hidden; } +.new_content button +{ + cursor: pointer; +} +.new_content button:hover +{ + background-color: #ffff00; + border-radius: 4px; +} article img { 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) // clic sur "tout enregistrer" if(id[0] === 'n' && page === 'article'){ const prefixes = ['t', 'p', 'i', 'd']; - const allElemsWithId = document.querySelectorAll('[class="data"]'); + const allElemsWithId = document.querySelectorAll('.data'); content = {}; var id_from_builder; -- cgit v1.2.3