3 hours ago
docx-editor

@docx-editor.dev/editor-api@2.1.1

Patch Changes

  • Updated dependencies [d74c5d6]
    • @docx-editor.dev/core@2.1.1
3 hours ago
docx-editor

@docx-editor.dev/react@2.1.1

Patch Changes

  • @docx-editor.dev/i18n@2.1.1
3 hours ago
docx-editor

@docx-editor.dev/core@2.1.1

Patch Changes

  • d74c5d6: Jumping to a tracked change or a selection now lands on it: the reveal was measuring caret geometry against the top of the sheet rather than the page's content box, so every jump stopped one page margin short and left the target just under the fold. Reveals that have to travel now centre their target instead of stopping the moment it clears the bottom edge, and one that is already on screen still does not move.
    • @docx-editor.dev/i18n@2.1.1
3 hours ago
hono

v4.13.1

What's Changed

New Contributors

Full Changelog: https://github.com/honojs/hono/compare/v4.13.0...v4.13.1

3 hours ago
docx-editor

@docx-editor.dev/editor-api@2.1.0

Patch Changes

  • Updated dependencies [a9fd363]
  • Updated dependencies [d793994]
  • Updated dependencies [6dee1e3]
  • Updated dependencies [3310029]
  • Updated dependencies [d116599]
  • Updated dependencies [f4eac0c]
  • Updated dependencies [b3e3457]
  • Updated dependencies [dbf5501]
  • Updated dependencies [7dce3ba]
  • Updated dependencies [a758db1]
  • Updated dependencies [42406bc]
  • Updated dependencies [d793994]
  • Updated dependencies [d89ef55]
  • Updated dependencies [d56b1a5]
  • Updated dependencies [34be525]
  • Updated dependencies [765e617]
  • Updated dependencies [113ed44]
  • Updated dependencies [8b4830e]
  • Updated dependencies [3f70246]
  • Updated dependencies [7a72c42]
  • Updated dependencies [8b4830e]
  • Updated dependencies [43c3e6a]
  • Updated dependencies [585413d]
  • Updated dependencies [cc82d50]
  • Updated dependencies [ec538fa]
  • Updated dependencies [45c9b93]
  • Updated dependencies [d793994]
  • Updated dependencies [0a62c6d]
  • Updated dependencies [e215962]
  • Updated dependencies [434454d]
    • @docx-editor.dev/core@2.1.0
3 hours ago
docx-editor

@docx-editor.dev/core@2.1.0

Minor Changes

  • a9fd363: BMP and WebP images now render instead of showing an unsupported-format placeholder.
  • 3310029: Custom nodes can carry a payload larger than the 64-character w:tag cap, in a customXml data part an SDT binds to, with a sweep that collects payloads whose control was deleted and a removal that leaves no record of the store for documents exported outside the system.
  • d116599: Custom nodes can be inserted, updated and removed inside a header, footer or note, including a node carrying a payload: the control lands in that story while its customXml store stays on the main document part, where Word looks for it. Which story a write targets now comes from the node or paragraph id rather than from wherever the reader happens to be, so a caller can address a node in a story it has left. Inserting, updating and removing all refuse a document open for viewing instead of editing it — these writes go through the store, below the editing-mode gate — and report the same locked code the engine's own refusal uses.
  • dbf5501: Every remaining ep- prefixed CSS class and keyframe is renamed to docx-editor-, so the whole stylesheet shares one namespace with the .docx-editor root class. If your own CSS targets an .ep-* class or the ep-caret-blink keyframe, switch it to the same name under docx-editor- (.ep-one-surface__caret becomes .docx-editor-one-surface__caret).
  • 8b4830e: Review navigation now goes where it says it does: activating a card selects the item's whole range and scrolls to it even when your own UI holds focus or the target page is not yet materialized, walking from a header change back to a body change leaves the header story so the body card activates again, and the setSelection command reveals its target. New setReviewActivationExclusions lets a host rail tell the engine which revision kinds it hides, so clicking tracked text never opens a card the rail does not render.
  • 7a72c42: Tracked changes and comments inside footnotes and endnotes now reach the review queue. They get cards with real geometry, getTrackedChanges names the story holding them, the caret can make one active, opening a card enters that note, accept and reject resolve against the note's own part, and a note card can be replied to — commenting anywhere after a note reference was refused before, because the offset walk counted note marks as no characters. Commenting outside the body works the same way: a range selected in a header, footer or note offers the affordance and the comment lands in that story. focus(scope) honours its argument, and a scope it cannot open is refused without first closing the story the reader had open.
  • 43c3e6a: The shipped stylesheet is now precompiled and fully namespaced: every Tailwind utility, editable-surface rule and keyframe is scoped under the renamed .docx-editor root class (previously .ep-root), so the CSS no longer collides with a host app's Tailwind setup and styles the chrome correctly in hosts without Tailwind. If your own CSS targets .ep-root, switch it to .docx-editor.
  • d793994: TIFF images now render instead of reserving their extent behind a placeholder. The image decode port's convertMetafile hook is renamed to convertPreserved and receives TIFF alongside EMF and WMF.

Patch Changes

  • d793994: The caret now carries a contrasting ring, so it stays visible against dark content. Clicking beside a dark image, or arrowing onto the line one sits on, no longer leaves the insertion point invisible.
  • 6dee1e3: Comment markers now land on the character they were asked for in paragraphs holding a drawing, a field or an inline content control, and a comment can be anchored inside a content control at all. The comment writer measured those paragraphs with a walk of its own that counted such elements as nothing, so commenting near one was either refused outright or, worse, placed the marker silently on the wrong character. A marker at the far edge of a complex field is also placed after the whole field rather than among its parts, where Word would drop it on the next field rebuild.
  • f4eac0c: Update fast-xml-parser to 5.10.1.
  • b3e3457: Pin the node and mark name unions on treeSchema so the generated type declaration is identical between builds.
  • 7dce3ba: Keep sub-1pt drawing extents at full paint height so Word's hairline form-rule bars stay visible instead of shrinking to a sub-pixel clip.
  • a758db1: Fix images in a header or footer staying on the loading placeholder forever. The picture decodes, but the page kept the furniture it was laid out with, so it never showed.
  • 42406bc: Header and footer ink now overflows its band like Word instead of being clipped: anchored shapes offset past the content width or below the header text stay visible, and negative indents hang into the margin. Overflowing shapes stay inert until the band is edited, so they never swallow clicks meant for the body.
  • d793994: Fix a band of blank space under an inline image in a paragraph using multiple line spacing. The multiple now scales the text line, as Word does, instead of the image's own height.
  • d89ef55: Stop binding Cmd+R for right alignment on macOS: the browser reserves that chord for reload, so the old binding re-aligned the paragraph and the page still reloaded. Right alignment stays on Ctrl+R on every platform.
  • d56b1a5: Speed up the document pipeline on long documents: opening, laying out, editing and saving a 500-page document is roughly a third faster end to end, and unchanged-document layout passes drop by more than half. Parsing, validation, layout keying and serialization now avoid recomputing facts already proven for unchanged, immutable nodes; no validation or security bound changed.
  • 34be525: Apply Word's automatic paragraph spacing when w:beforeAutospacing or w:afterAutospacing is set, instead of the measurement the flag replaces. Documents written by Word's HTML filter carry it on every paragraph and were laid out 9pt tight per boundary, which moved page breaks.
  • 765e617: Stop applying paragraph-mark w:pPr/w:rPr font size to content runs that inherit the paragraph style. Mark formatting still sizes empty lines and last-line mark height.
  • 113ed44: Tracked changes from other editors now coalesce the way Word shows them: adjacent same-author deletions or insertions merge into one review card, and a deletion meeting an insertion pairs into a single Replaced card regardless of how far apart their timestamps are.
  • 3f70246: Speed up comment and tracked-change derivation on heavily reviewed long documents: re-reading the review queue over an unchanged document is ~25x faster, and the re-derive after an accept, reject, comment write or undo drops by more than half. Derivation semantics are unchanged.
  • 8b4830e: Review and navigation now land in the story they name: accepting or rejecting a header or footer card leaves the caret inside that story instead of throwing it into the body (after which every keystroke was silently refused), replying to a header or footer card writes into that part instead of being refused, and jumping to a body search hit or outline heading leaves an open header or note first.
  • 585413d: Fix caret and hit-test drift on lines containing superscript or subscript text. The shaped measurer rounded the reduced super/subscript size to a whole half-point, measuring those runs up to 3% wider than they paint; the caret landed mid-glyph for the rest of the line.
  • cc82d50: Pictures inside footnotes, endnotes and text boxes now render. They previously painted nothing at all, not even a placeholder.
  • ec538fa: Fix suggesting mode dropping text typed at the start of a paragraph that carries properties, which made the keyboard look dead in the item Enter had just opened. An empty list item's marker also no longer paints over the item above it.
  • 45c9b93: Anchored text boxes now render their content clipped inside the shape's extent in the body, headers, and footers, with PAGE / NUMPAGES / SECTIONPAGES fields inside header/footer text boxes evaluated per page. Editing a header or footer whose direct content is nearly empty now shows a full-height edit band instead of a hairline.
  • 0a62c6d: Typing in a tracked table row no longer drops that row's tracked-change card, so the row insertion stays acceptable and rejectable.
  • e215962: Trailing tabs no longer start a new line, so a header authored as tabbed columns keeps its own height and stops pushing the body down the page. Header and footer shapes marked behindDoc now paint beneath the body text instead of over it.
  • 434454d: Paint form-blank underlines across tab advances: an underlined w:tab now draws a rule for the reserved stop width instead of relying on CSS text-decoration on an invisible tab glyph.
  • Updated dependencies [232728c]
    • @docx-editor.dev/i18n@2.1.0