By using Elementorforum.com’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!
elementor official

How to disable Javascript in Edit Mode?

I

Ivica

New Member
Hey there,

I'm trying the whole day to put a simple JS Code (an ordinary copyright sign with current year) on my page. But Elementor (free version) is driving me nuts because as soon as I put the JS Code into the HTML Tag it starts parsing and it shows me the result on a blank white page.

I mean, it shows the current year, so I'm glad that the code works but I can't use the editor any more because the whole right side is just a blank page and theres no way to undo it. So I have to go to the revisions, choose an older revision, save it and reload the page again.

I tried Plugins, different codes but still. Any ideas how to diasble the parsing while in edit mode. Help is veeery appreciated. Thanx!

Btw. heres the code I used:

<script>document.write(new Date().getFullYear())</script>

Just put it in the HTML-Tag and you will see what I mean.
 
elementor official

Latest posts

Latest Products

Other Elementor Resources

elementor official
elementor official
Top