@platejs/docx-io
Bug Fixes
- Fix
exportToDocxadding blank paragraphs at the top of the document.wrapHtmlForDocxemitted 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. (#4991)