-
-
Save danro/7782061c69eaefe4bf8244895ae09a20 to your computer and use it in GitHub Desktop.
Disable custom code in the Webflow Editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var Webflow = Webflow || []; | |
Webflow.push(function() { | |
if (!Webflow.env('editor')) { | |
// Run custom JS code here | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment