• When I add this, the elementor editor becomes a blank page. SSL from https://www.positivessl.com/the-positivessl-trustlogo

    <script type="text/javascript"> //<![CDATA[
      var tlJsHost = ((window.location.protocol == "https:") ? "https://secure.trust-provider.com/" : "https://www.trustlogo.com/");
      document.write(unescape("%3Cscript src='" + tlJsHost + "trustlogo/javascript/trustlogo.js' type='text/javascript'%3E%3C/script%3E"));
    //]]></script>
    <script language="JavaScript" type="text/javascript">
      TrustLogo("https://www.positivessl.com/images/seals/positivessl_trust_seal_md_167x42.png", "POSDV", "none");
    </script>

    More detailed if I add first part on header.php

    <script type="text/javascript"> //<![CDATA[
      var tlJsHost = ((window.location.protocol == "https:") ? "https://secure.trust-provider.com/" : "https://www.trustlogo.com/");
      document.write(unescape("%3Cscript src='" + tlJsHost + "trustlogo/javascript/trustlogo.js' type='text/javascript'%3E%3C/script%3E"));
    //]]></script>

    and I add second part in Elementor HTML widget:

    <script language="JavaScript" type="text/javascript">
      TrustLogo("https://www.positivessl.com/images/seals/positivessl_trust_seal_md_167x42.png", "POSDV", "none");
    </script>

    Then the editor become blank page with just shown certificate and nothing else. And on the site (front-end), it works fine. Just I can’t use the editor anymore.

    I use latest version of elementor.

    • This topic was modified 1 year, 8 months ago by duda.
    • This topic was modified 1 year, 8 months ago by duda.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Adding SSL Javascript code in HTML widget Breaks Elementor Editor’ is closed to new replies.