I’m not sure whether this is a bug or intended behaviour, but it feels like a bug to me.
Attributes added under style/attributes are added to the HTML in frontend and in single template type builder but not in section template type builder.
Edit: The scripts of custom elements also don’t seem to run in the section template builder. The ones from the $scripts array in the element class.
timmse
January 30, 2024, 2:42pm
2
Hi Frederik,
Thanks so much for your report.
The problem has already been reported a long time ago, and the task is still in progress:
Bricks Version: 1.5 RC
Browser: Chrome 90
OS: macOS / Windows / Linux / etc.
URL: local
Hey guys,
I’m not sure if this is intended or if it is a bug, but I noticed the data-attributes are not being output on the elements inside the builder view - which leads the scripts that depend on it to be non-working. While everything is working on the frontend, it makes the backend experience quite messy.
Thanks,
Maxime
I’ll close this thread accordingly.
Best regards,
timmse