Prerequisites
Description
Elementor creates validation errors in HTML an it was not the issue before. I opened topic in support about this:
https://wordpress.org/support/topic/validation-errors-54/#post-15345022
and they said it is most likely a bug and to open bug report here.
This is description of problem:
Hi, I have the problem with Elementor plugin validation errors. The problem is that style tag appears inside body everywhere. The requirement for Themeforest themes is to not have any validator error so I am not sure how to continue using your plugin for themes.
Edit: problem appears from version 3.5.0 – something like this appears and is not validated: <style>/*! elementor – v3.5.5 – 03-02-2022 */
If I switch to old versions it does not appear.
Steps to reproduce
Use any element for example text editor (specifically if you add styling) and check validation https://validator.w3.org/
Isolating the problem
System Info
| Server Environment |
|
|
| Operating System: |
Linux |
|
| Software: |
Apache |
|
| MySQL version: |
Percona Server (GPL), Release 84.1, Revision b308619 v5.6.41-84.1 |
|
| PHP Version: |
7.4.27 |
|
| PHP Max Input Vars: |
1000 |
|
| PHP Max Post Size: |
128M |
|
| GD Installed: |
Yes |
|
| ZIP Installed: |
Yes |
|
| Write Permissions: |
All right |
|
| Elementor Library: |
Connected |
|
Prerequisites
Description
Elementor creates validation errors in HTML an it was not the issue before. I opened topic in support about this:
https://wordpress.org/support/topic/validation-errors-54/#post-15345022
and they said it is most likely a bug and to open bug report here.
This is description of problem:
Hi, I have the problem with Elementor plugin validation errors. The problem is that style tag appears inside body everywhere. The requirement for Themeforest themes is to not have any validator error so I am not sure how to continue using your plugin for themes.
Edit: problem appears from version 3.5.0 – something like this appears and is not validated: <style>/*! elementor – v3.5.5 – 03-02-2022 */
If I switch to old versions it does not appear.
Steps to reproduce
Use any element for example text editor (specifically if you add styling) and check validation https://validator.w3.org/
Isolating the problem
System Info