No, I also dont get it why shopify doesnt do a quick fix here… if you have for example a section with blocks and you add a block then the JS suddenly runs, even without saving. I thought they are preventing some XSS attacks but thats not the case if the script runs after deleting or adding a block somewhere on the page without saving the page.
Dugani
13
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Section scripts aren't run on "add section" | 3 | 65 | June 13, 2022 | |
| Javascript not executed on "Add Section" for the first time | 0 | 30 | May 27, 2024 | |
| Cache and Theme Customiser issues with {% stylesheet %} and {% javascript %} section assets | 3 | 300 | May 27, 2024 | |
| Liquid logic in {% javascript %} - shopify section | 2 | 134 | November 12, 2020 | |
| shopify:section:load doesn't working at all | 0 | 66 | January 24, 2023 |