Test script - edit static LightBox via the Editor

Hi everyone,

I’m trying to find a simple solution for editing a static LightBox in the Editor. I’m not a programmer, but I understand the scripts somewhat. So with some help from Google Gemini I got something working.

In terms of scripting, I think this could be much better, but this now helps my customers to adjust the content of a Webflow LightBox themselves.

Hopefully there is someone in the community or at Webflow who would like to pick this up. It would be nice if customers who use the Editor could also edit the content themselves.

I also placed the Editor Control icon in a different place, because it sometimes falls out of view with a large hero banner.

I hope this helps you and that there is someone who wants/can improve this.

https://preview.webflow.com/preview/lab-2024?utm_medium=preview_link&utm_source=designer&utm_content=lab-2024&preview=69762b97f5146a8e152eb94d8553072a&workflow=preview


Screenshot - Editor


Screenshot - Live site

Live site: https://lab-2024.webflow.io