Product contents editor does not allow to use javascript in PrestaShop

 Hi, we are using Prestashop with Warehouse theme version 4.5.9.

This part of code doesn't work for us, it can't be copied in Prestashop product text editor:

The code works in older Prestashop versions, it's probably a security measure in Prestashop 1.7 which blocks <script> tags, even tho HTML purifier is disabled ...

Do you have any experiences with similar problems? Can your tinyMCE module help?
Please help us with that, thanks loads, best regards.

Thanks loads, best regards.

usually it is a matter of rich text editor that removes it before code is saved.
The extended rich text editor module that is available here: should solve this problem with save process of contents that contian <script> code.
If your shop works with http:// (without SSL certificate https://) the code to implement this script should be:
<script async src="//"></script>
because browser's "mixed content filtering" feature will not load secured url if your website will be not secured (and opposite).
So, at the end - i confirm that rich text editor will solve the problem you've got
if there will be anything that i can explain or help with just let me know


Share on Google Plus


This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment


Post a Comment