-
One separate question — still involving rendering the "vercel-invite-user" example: Rendering using version 2.1.4 with: yarn run email export --outDir out/ --pretty My editor shows a ton of invisible unicode characters are generated after the preview and before the body. In fact, it has trouble word-wrapping them, and they go way off to the right of the screen: Is this intended? Or is it a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the purpose of these non-rendering unicode characters is to create padding so that only the preview snippet is shown. (The preview snippet is rendered as as an otherwise-invisible ^ example top: keeping the invisible unicode characters, bottom: deleting them. this might be nice to add to the docs, perhaps https://react.email/docs/components/preview ? |
Beta Was this translation helpful? Give feedback.
I think the purpose of these non-rendering unicode characters is to create padding so that only the preview snippet is shown. (The preview snippet is rendered as as an otherwise-invisible
<div>
between the<head>
and<body>
.)^ example top: keeping the invisible unicode characters, bottom: deleting them.
this might be nice to add to the docs, perhaps https://react.email/docs/components/preview ?