Skip to content

chore: release#376

Open
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main
Open

chore: release#376
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 5, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@eigenpal/docx-js-editor@0.4.2

Patch Changes

  • 4425996: Fix apply_formatting tool schema rejection by Gemini. The marks.highlight enum no longer contains an empty string, which Gemini's GenerateContentRequest rejects. Pass "none" to clear the highlight.
  • ff6dbe8: Fix header/footer interactions in the inline editor: toolbar now reflects table state when the cursor is in a header/footer table cell, right-click shows the table context menu, and the horizontal/vertical rulers stay above the inline HF editor on scroll instead of being painted over. Fixes Header table interactions don't reach toolbar / right-click menu #384, Inline header/footer editor renders above the ruler (z-index) #385.
  • e32ebed: Fix list numbering when multiple <w:num> elements share one <w:abstractNum>. Per ECMA-376 §17.9.18 they share counter state and a <w:lvlOverride>/<w:startOverride> only resets the shared counter the first time its numId appears. Counter state is now keyed by abstractNumId; first-encounter resets are honored. Also fixes a related justification bug where list-level indents written with <w:ind w:start="0"/> were ignored, causing a 720-twip fallback indent to be applied and table-cell text to render 48px short of the cell width.
  • 7a2665c: Fix font reset on save when a paragraph style explicitly sets <w:rFonts ascii="Arial"> while document defaults supply a paired asciiTheme="minorHAnsi". The OOXML render layer treats the theme attribute as overriding the explicit name, so a stale asciiTheme from docDefaults was silently turning Arial headings into Calibri. The font merge now treats explicit/theme attribute pairs as a unit per ECMA-376 §17.3.2.27. Fixes bug: run in table cell getting font name reset on save #387.
  • f42ad91: Fix paragraph default font family resolution when a paragraph's pPr/rPr sets only one slot of <w:rFonts> (e.g. w:eastAsia="Calibri"). Previously the entire fontFamily object was replaced on merge, wiping out other slots inherited from the basedOn chain (e.g. w:ascii="Arial Narrow"). Per ECMA-376 §17.3.2.27, each ascii/hAnsi/eastAsia/cs slot — and its theme pair — must merge independently. Identical paragraphs now resolve to the same default font family and render at the same height.
  • 1259fa0: Unify header/footer rendering with the body pipeline. Header tables now render in the normal paginated view (previously they were silently dropped on the paginated render path while showing in edit mode), and headers/footers gain full block-kind support — paragraphs, tables, images, text boxes, and PAGE/NUMPAGES fields — by routing through the same headerFooterToProseDoc → toFlowBlocks → measureBlocks → renderFragment chain the body uses. Fixes Header/footer tables disappear from the normal render path #356, Header/footer tables lack body-like table interaction parity #357, Header/footer table layout shifts after entering and leaving edit mode #358.

@eigenpal/docx-editor-agents@0.4.2

@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docx-editor Ready Ready Preview, Comment May 5, 2026 2:57pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

0 participants