Disable JS when in the Editor

Hi,

I have used Locomotive Scroll in a website I am working right now. I have a problem using the editor with the Locomotive JS active because it prevents me from scrolling.

Is there a way to disable the Javascript code related to Locomotive Scroll when in editor mode?

I have found this post but I could not figure out how to use it in my case: FullPage.js and the CMS editor incompatibility - #8 by joshh

Thank you


Here is my site Read-Only: Webflow - efi studio