DUPLICATE: Undesired html code in text element

When editing a text directly in the design (so not in the text input box in the sidebar) styles are added within the text. i.e.:

<span style="color: var(–bricks-color-fpfosb); font-size: 1.6rem; background-color: var(–bricks-color-fzjqlx);> Here’s the text

This happened with Elementor a while ago as well, I know they were able to solve it after I reported it. The problem with this is that bricks adds undesired inline styling to the front end of paragraphs.

So instead of:
< p>here’s the text</ p>

It ends up in the front end like this:

< p><span style="color: var(–bricks-color-fpfosb); font-size: 1.6rem; background-color: var(–bricks-color-fzjqlx);> Here’s the text

And with that it makes the workflow less dependable since you have to go in the text element and select text to be able to see if this happened.

Hope you can have a look at this, thnx!

Hi Michael,
Thanks so much for your report!

  1. Can you give me some more info on which text elements the issue appears? For all of them, or just certain ones?
  2. Only in certain situations or always?
  3. Can you possibly record a short screencast and show the problem? That might help.

Best regards,
timmse

Since the report it hasn’t happened again so I don’t know what triggered it in the first place.

I checked my old bug report for elementor, and there it was copying from another element.
Tried that but couldn’t reproduce.

So bug can be closed for now, should I encounter it again I’ll come back to it.
Thank you!

1 Like

Bug caught on camera:

See video: