From f2efa28e66c24f6a40f2ea56895b431100147b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Hennecart=20=28jeh=29?= Date: Wed, 13 Apr 2022 13:38:54 +0000 Subject: [PATCH] [FIX] website_slides: avoid useless "List" placeholders in website editor mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ensure that we don't have empty `
  • ` tags which create a "List" placeholders when the website editor is enabled on the course side menu. Indeed, the website editor adds a placeholder and the class "oe-hint" when the content of specific blocks is void (li, h1, h2, ...). (See the OdooEditor.js file and the _handleCommandHint() and _makeHint() methods for more information) Task-2813583 closes odoo/odoo#89694 X-original-commit: d4a54fc6534788bc5276f5ea01ae5c05b527a3a7 Signed-off-by: Hennecart Jérémy (jeh) Signed-off-by: Warnon Aurélien (awa) --- .../views/website_slides_templates_lesson.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/website_slides/views/website_slides_templates_lesson.xml b/addons/website_slides/views/website_slides_templates_lesson.xml index 0650944101c..a02c63d01e6 100644 --- a/addons/website_slides/views/website_slides_templates_lesson.xml +++ b/addons/website_slides/views/website_slides_templates_lesson.xml @@ -192,12 +192,12 @@
  • -
  • - +
  • + Quiz - + Quiz