Magento fix my html code
Hello,
I encounter a small problem.
When I integrate my HTML code into my category description blocks, Magento corrects the code.
Example :
<div class="divider divider-center"><a href="#" data-scrollto="#header"><i class="icon-chevron-up"></i></a></div >
BECOMES:
<div class="divider divider-center"> </div>
How can I stop this problem?
Yann
-
Official comment
Apart from restoring the code, we also recommend disabling the WYSIWYG Editor, as this can often break HTML code. Here's an article that goes over how to do this specifically, and the reasons it should be done:
https://support.weltpixel.com/hc/en-us/articles/360000814834-How-to-disable-WYSIWYG-editor-in-Magento-2-and-reasons-not-to-use-it-
The steps here would be:1. Disable the WYSIWYG Editor
2. Restore the codeComment actions
Please sign in to leave a comment.
Comments
1 comment