@platejs/docx-io
Features
-
Forward two dropped options in
exportToDocx: (#4997)pageSize— the html-to-docx engine accepts a page size, butexportToDocxonly forwardedmarginsandorientation, 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 anEditorStaticComponentwas 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).
@platejs/dnd
Bug Fixes
- Clear stale DnD drop indicators when dragging from a block into editor whitespace. (#5002)