@react-email/editor@1.6.12
resend/react-email@react-email/editor@1.6.12Jul 27, 2026by github-actions[bot]
AI Summary
This patch fixes code block styling issues when re-importing emails and makes body spacing configurable and theme-driven via new inspector inputs.
Key Highlights
- Fixes code block styling on import
- Makes body margin/padding theme-driven with new inspector controls
Full Release Notes
### Patch Changes * 2f595da: Fix code blocks losing their theme, language and styling when an email is imported back into the editor. * 81380ef: Make body margin and padding theme-driven instead of hardcoded on the email `<Body>`. The `minimal` theme's body panel now includes a Margin input and defaults its padding inputs to `0`, so body spacing is visible and editable in the inspector and can be overridden per document. The `basic` theme keeps its `margin: 0; padding: 0` body reset with unchanged output.