PricingDocsAcademy
Bluesky ...
Tue, Dec 3, 2:29 AM

How can a page determine if it is running in the editor?

  • Patrick Mast

    10 days 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

    10 days 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.
  • Patrick Mast

    10 days ago

    Oh dear.. Thanks for the reminder! ๐Ÿ™ ๐Ÿคฆโ€โ™‚๏ธ
    ๐Ÿ™Œ1

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code โ€” but accessible to your entire team!

Try toddle โ€” it's free!

ยฉ Copyright 2024 toddle. All rights reserved.