elementor / elementor

The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
https://elementor.com/
GNU General Public License v3.0
6.58k stars 1.42k forks source link

🐞 Render term descriptions with wpautop, same as in live editor #21007

Open ADAGEBF opened 1 year ago

ADAGEBF commented 1 year ago

Prerequisites

Description

When editing an archive template, the description is rendered in text widget with wpautop function. But when publishing, the final frontend is rendered without wpautop, so the line breaks are not rendered anymore. Tried with several widgets (title, text, HTML) with exact same result.

Steps to reproduce

  1. On a new site with Hello, Elementor and Elementor Pro,
  2. Edit a category description with a text including several line breaks.
  3. Create an archive template applied for categories, and add a text widget.
  4. Use the dynamic tag "term description", and notice the line breaks are rendered well (with wpautop).
  5. Publish your work, then go frontend and notice the line breaks are not rendered anymore.

Isolating the problem

System Info

== Server Environment == Operating System: Linux Software: Apache MySQL version: MariaDB Server v10.6.11 PHP Version: 8.1.13 PHP Memory Limit: 2048M PHP Max Input Vars: 1000 PHP Max Post Size: 512M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected

== WordPress Environment == Version: 6.1.1 Site URL: Home URL: WP Multisite: No Max Upload Size: 512 Mo Memory limit: 40M Max Memory limit: 2048M Permalink Structure: /%postname%/ Language: fr-FR Timezone: Europe/Paris Admin Email: Debug Mode: Inactive

== Theme == Name: Hello Elementor Child Version: 1.0.1 Author: Elementor Team Child Theme: Yes Parent Theme Name: Hello Elementor Parent Theme Version: 2.6.1 Parent Theme Author: Elementor Team

== User == Role: administrator WP Profile lang: fr_FR User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0

== Active Plugins == Elementor Version: 3.10.0 Author: Elementor.com

Elementor Pro
    Version: 3.10.1
    Author: Elementor.com

== Fonctionnalités == Custom Fonts: 0 Custom Icons: 0

== Intégrations ==

== ExpĂ©riences d’Elementor == Sortie DOM optimisĂ©e: Actif par dĂ©faut AmĂ©lioration du chargement des ressources: Actif par dĂ©faut Optimisation du chargement du CSS: Actif par dĂ©faut IcĂŽnes de police « inline »: Inactif par dĂ©faut AmĂ©liorations de l’accessibilitĂ©: Actif par dĂ©faut Points d’arrĂȘt personnalisĂ©s supplĂ©mentaires: Actif par dĂ©faut Masquer les widgets natifs de WordPress des rĂ©sultats de recherche: Actif par dĂ©faut admin_menu_rearrangement: Inactif par dĂ©faut Conteneur Flexbox: Inactif par dĂ©faut Par dĂ©faut vers le Nouveau constructeur de thĂšme: Actif par dĂ©faut En-tĂȘte et pied de page du thĂšme Hello: Actif par dĂ©faut Page d’atterrissage: Actif par dĂ©faut ÉlĂ©ments imbriquĂ©s: Inactif par dĂ©faut Lazy Load Background Images: Inactif par dĂ©faut DĂ©finir comme valeur par dĂ©faut: Actif par dĂ©faut Transitions des pages: Actif par dĂ©faut Notes: Actif par dĂ©faut Boucle: Actif par dĂ©faut Loop Carousel: Inactif par dĂ©faut Envois de formulaire: Actif par dĂ©faut Accroche de dĂ©filement: Actif par dĂ©faut

nicholaszein commented 1 year ago

Hello @ADAGEBF!

Thank you for submitting your issue! 🙏

Please allow us some time to investigate it, and get back to you with our findings. 🧐

Best regards

phkoon commented 6 months ago

Any updates on this yet?

Been having the same issue with product description and short description.