v53.1.0
Mintplex-Labs/anything-llmv53.1.0Jun 10, 2026by zbeyens
AI Summary
Minor release for Plate.js featuring DnD improvements and docx export enhancements including support for page size and font family configuration.
Key Highlights
- Fixed stale DnD drop indicators when dragging into editor whitespace
- Added pageSize support for docx export (previously defaulted to US Letter)
- Added fontFamily support for docx export (previously defaulted to Times New Roman)
New Features
- pageSize option for exportToDocx
- fontFamily option for exportToDocx
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)