Pro 6.x strange Text element bug

This is a bit of an obscure bug perhaps, but it is present on a number of sites I checked, running the latest pro 6.3.9 as well as earlier 6.2.5

When editing a text element newly added to the page, a span is added in certain circumstances around the last paragraph, with the following styling:

<span style="color: var(--c-base);">Text content...</span>

When the text element is added, if you create a paragraph break, then remove that paragraph break by putting the cursor to the end of the first paragraph and using delete, the text of the second paragraph has that span wrapped around it, and the color of the var(--c-base) overrides the text color set in the element options.

Here’s a video that demonstrates the process:

Doing various things to the text element before following the sequence above prevents it from happening, and it doesn’t always repeat after the first time.

Tested across two sites, one in current development on 6.3.9, and one built a while back, now on 6.2.5, and the same result occurred.

i had a similar problem with an browser extesion. it did add code to text fields only. i got the problem from a password manager browser addon. :slight_smile:
cheers

Ah interesting!

Was the code added similar to the above? the var(--c-base) variable being referenced in the span styling is a Cornerstone variable, which is why I have assumed it was a Pro bug.

I have also just tried the same steps as above in Safari, where I have no extensions or browser addons installed, as far as I could work out, and the issue was still present.