NO BUG: Components not styled in builder

Changing the ID of the component is not reflected in the DOM (builder side).
So the component is well displayed on front but is not styled on the builder.
When checking HTML source, the component element has its original ID set, not the new one.
Happens on all my components.

Example :

I set the ID #cta to my CTA component.
In HTML source I see :

<section class="brxe-section brxe-razpip brxe-fohtau ..." id="brxe-fohtau" data-id="razpip" data-parent-id="0" data-script-id="razpip" data-index="2" data-component="razpip" tabindex="0"></section>

Am I missing something ?

Thank you.

2 Likes

Hello,

I strongly suggest that you style the component on the class level, not ID, because if you use multiple components on the same page, then you will have multiple of the same IDs, which is not allowed.

We will check how we can improve this, though.

Best regards,
Matej

Some styles are not being applied in the builder. It works fine on the frontend, but you need to refresh the builder page to reflect the configured styles.

Inside or outside the component.

1 Like

Hi ! Yeah it makes sense, that solves the problem.
Have a nice day.

Perfect then. I’ll mark the topic as no-bug then. We will also improve this in the future release, so that using IDs with the component will not be possible.

Best regards,
Matej