Spacing issue with text elements, not in preview

Weird spacing issue with text elements, this doesn’t happen when I go into preview

image.png

What is your line-height here?

I had this issue and was able to fix by doing the MDN-recommended fix which was change my line-height from a unit value to a unitless value

16px -> 1.25

Not an expert by any means but this was exactly my issue

This spacing issue only occurs in the editor and not when it’s published live on the website or when going into Plasmic component preview