You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope this message finds you well. I am reaching out to report an issue I’ve encountered while using the Enlighter plugin to display code blocks within Elementor on my WordPress site.
Problem Description:
When I format my code using the Enlighter plugin, it seems to be converted correctly in the text editor. However, upon viewing the page live, the line breaks in my code are replaced with tags, disrupting the intended formatting of the code. Here's an example of how my code appears within the Elementor text editor:
/*
* This is a multi-line comment
*/
Expected Result:
The code should be displayed with proper line breaks and formatting when rendered on the website.
Actual Result:
The rendered code displays tags where the line breaks should be, resulting in a cluttered code block.
Troubleshooting Steps Taken:
I have checked the Enlighter plugin settings for any line breaking/formatting options and adjusted them accordingly, but the issue persists.
I have made sure not to use the visual editor in Elementor after pasting my code into the text module to avoid any auto-formatting issues.
I am not sure whether this is related to a CSS conflict, JavaScript issue, or a misconfiguration within the plugin or Elementor. I would greatly appreciate any guidance or assistance you could provide in resolving this matter. Furthermore, if there is any additional information or access required to diagnose this issue, please let me know, and I'll be happy to comply.
official Enlighter only supports TinyMCE and Gutenberg Editor out of the box. Elementor (a commercial plugin) is neither tested nor supported (i didn't own any license).
therefore i would recommend you to ask the Elementor team for support - technically it's some kind of rendering issue caused by elementor..sry
WordPress Version
6.5.3
Enlighter Version
latest
Editing method
Text editor (e.g. comments) with pre tags
What happened?
Hello [Developer/Support Team],
I hope this message finds you well. I am reaching out to report an issue I’ve encountered while using the Enlighter plugin to display code blocks within Elementor on my WordPress site.
Problem Description:
When I format my code using the Enlighter plugin, it seems to be converted correctly in the text editor. However, upon viewing the page live, the line breaks in my code are replaced with
tags, disrupting the intended formatting of the code. Here's an example of how my code appears within the Elementor text editor:
Expected Result:
The code should be displayed with proper line breaks and formatting when rendered on the website.
Actual Result:
The rendered code displays
tags where the line breaks should be, resulting in a cluttered code block.
Troubleshooting Steps Taken:
I have checked the Enlighter plugin settings for any line breaking/formatting options and adjusted them accordingly, but the issue persists.
I have made sure not to use the visual editor in Elementor after pasting my code into the text module to avoid any auto-formatting issues.
I am not sure whether this is related to a CSS conflict, JavaScript issue, or a misconfiguration within the plugin or Elementor. I would greatly appreciate any guidance or assistance you could provide in resolving this matter. Furthermore, if there is any additional information or access required to diagnose this issue, please let me know, and I'll be happy to comply.
Thank you for your time and assistance.
Best regards,
Yuchen Lu
What browsers are you seeing the problem on?
No response
Your settings (debug)
I've read the docs/troubleshooting guidelines
The bug/issues appears in a clean WordPress environment
The text was updated successfully, but these errors were encountered: