v53.0.8
udecode/platev53.0.8Jun 3, 2026by zbeyens
AI Summary
A patch release fixing a rendering issue in the DOCX export module where blank paragraphs were being added to the top of documents.
Key Highlights
- Fixed `exportToDocx` adding blank paragraphs at the top of the document.
- Modified `wrapHtmlForDocx` to emit tight markup without the DOCTYPE to prevent whitespace-only text nodes.
Full Release Notes
## `@platejs/docx-io` ### Patch Changes - [#4991](https://github.com/udecode/plate/pull/4991) by [@WilliamPeralta](https://github.com/WilliamPeralta) – Fix `exportToDocx` adding blank paragraphs at the top of the document. `wrapHtmlForDocx` emitted a `<!DOCTYPE html>` and indented the template; html-to-docx (html-to-vdom) keeps the DOCTYPE and the whitespace-only text nodes between tags and renders each as a blank paragraph. The wrapper now emits tight markup with no DOCTYPE. ## Contributors Thanks to everyone who contributed to this release: @WilliamPeralta Full changelog: [`v53.0.7...v53.0.8`](https://github.com/udecode/plate/compare/v53.0.7...v53.0.8)