github udecode/plate v53.1.0

5 hours ago

@platejs/dnd

Patch Changes

  • #5002 by @kiranmagic7 – Clear stale DnD drop indicators when dragging from a block into editor whitespace.

@platejs/docx-io

Minor Changes

  • #4997 by @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

Don't miss a new plate release

NewReleases is sending notifications on new releases.