• Join the Best Wordpress and 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!

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.
 

Latest Resources

Other Elementor Resources

elementor official

Still stuck? Ask the forum

Post your question with a screenshot and a link if you can, and a member will usually reply within a day. Free to join, no sales pitch.

Create a free account
Top