@react-email/editor@1.6.1
semaphoreui/semaphore@react-email/editor@1.6.1Jul 2, 2026by github-actions[bot]
AI Summary
Fixes a critical bug in text selection logic that caused ProseMirror to log errors when the user lost focus on the editor.
Key Highlights
- Fixes invalid TextSelection on blur
- Switches to Selection.atStart(doc) for valid cursor positioning
- Updates react-email dependency to 6.6.6
New Features
- Fixed text selection handling on blur
Full Release Notes
### Patch Changes * 94bd4c8: Fix invalid `TextSelection` on blur. Clearing the selection on blur used `TextSelection.create(doc, 0)`, which resolves to the doc node (no inline content) and made ProseMirror log "TextSelection endpoint not pointing into a node with inline content (doc)". It now uses `Selection.atStart(doc)`, which resolves to the first valid cursor position. * Updated dependencies \[b4ac0d5] * Updated dependencies \[cb3c468] * react-email@6.6.6