How can a page determine if it is running in the editor?
Patrick Mast
1 year ago
I have a workflow that triggers on “OnLoad.” How can I prevent it from running while editing the page in the editor? How can the page detect whether it’s running in the editor or not?
Erik Beuschau
1 year ago
Perhaps your own answer here could be a possible solution? 🙂https://discord.com/channels/972416966683926538/1270340122117799946/1273616166509613128 By determining whether the app is running in an iframe you could prevent your actions from running on load. Alternatively, if you have a custom domain, you could use the Current URL formula to determine if the app is loaded on a *.toddle.site domain or not and use that as your condition.