react-email icon indicating copy to clipboard operation
react-email copied to clipboard

@react-email/[email protected] emits "data-ids" in HTML

Open patrickfav opened this issue 3 months ago • 2 comments

What versions are you using? (if relevant)

@react-email/[email protected] (contained in @react-email/[email protected]), [email protected]

Describe the Bug

Using columns and exporting creates

elements with data-id attributes Image

What is affected (leave empty if unsure)

email export

Link to the code that reproduces this issue

Image

To Reproduce

Create an email template using Columns component. Export the HTML via mail export.

Expected Behavior

Please remove the data-id and references that react mail was used to create the template. No other component (I used) emits data-id or other unnecessary metadata. I guess this is a feature used for internal unit testing?

What's your node version? (if relevant)

24.11.1 (LTS)

patrickfav avatar Dec 31 '25 11:12 patrickfav