Following up on one of my other questions, too. It appears that it’s not clear what the correct filter is to see content on the editor canvas. See this post:
Hi guys!
regarding the filter bricks/element/set_root_attributes and bricks/element/render_attributes it only works on the frontend? How can we also apply to the builder rendering too?
edit:
Also relevant, these appear to explain that there is a bug in the render_attributes
filter and/or custom attributes that’s been WIP for over a year. Was it forgotten?:
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
Bricks Version: 1.5.3
Browser: Chrome Version 105.0.5195.125 (Build officiel) (x86_64)
OS: macOS
URL: N/A
Hi Bricks team,
When adding a custom attribute to an element, this attribute is rendered on the element on frontend, but not on the element in the builder.
This may not be a bug, but a deliberate choice, but. when this attribute plays a role in the element styling, this results in incorrect visual aspect in the builder when frontend is actually correct.
So, when a custom attribute is …