v53.1.0
udecode/platev53.1.0Jun 10, 2026by zbeyens
AI Summary
This release introduces enhancements to Document-to-Word export capabilities and drag-and-drop user experience. It adds support for custom page sizes and document fonts in the export process, alongside a fix for drop indicators during drag operations.
Key Highlights
- Added support for custom page sizes (e.g., A4) in exportToDocx
- Added support for custom document fonts in exportToDocx
- Fixed drag-and-drop drop indicators when dropping into editor whitespace
New Features
- Custom page size export
- Custom font export
- DnD indicator fix
Full Release Notes
## `@platejs/dnd`
### Patch Changes
- [#5002](https://github.com/udecode/plate/pull/5002) by [@kiranmagic7](https://github.com/kiranmagic7) – Clear stale DnD drop indicators when dragging from a block into editor whitespace.
## `@platejs/docx-io`
### Minor Changes
- [#4997](https://github.com/udecode/plate/pull/4997) by [@WilliamPeralta](https://github.com/WilliamPeralta) – Forward two dropped options in `exportToDocx`:
- **`pageSize`** — the html-to-docx engine accepts a page size, but `exportToDocx` only forwarded `margins` and `orientation`, so the document was always the default (US Letter). You can now pass e.g. `pageSize: { width: 11906, height: 16838 }` to export A4.
- **`fontFamily`** — it was only applied to the serialized HTML (and only when an `EditorStaticComponent` was provided), so the document default font was never set and Word fell back to Times New Roman. It now also sets the document default font (`documentOptions.font`).
## Contributors
Thanks to everyone who contributed to this release:
@kiranmagic7, @WilliamPeralta
Full changelog: [`v53.0.9...v53.1.0`](https://github.com/udecode/plate/compare/v53.0.9...v53.1.0)