@react-email/editor@1.6.12

vectordotdev/vector@react-email/editor@1.6.12Jul 27, 2026by github-actions[bot]

AI Summary

Improvements to code block handling and body spacing configuration in the editor.

Key Highlights

  • Fix for code blocks losing theme and styling upon import
  • Body margin and padding now theme-driven
  • Editable spacing in inspector for minimal theme

New Features

  • Fix for code block styling on import
  • Theme-driven body margin and padding

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.