Skip to content

Releases: eigenpal/docx-editor

@eigenpal/docx-js-editor@0.1.1

27 Apr 08:55
cae0827

Choose a tag to compare

Patch Changes

  • 1a9d8eb: Fix caret rendering at the wrong height after changing font size/family in an empty paragraph. The paragraph measurement cache key didn't include defaultFontSize/defaultFontFamily, so empty paragraphs with different default fonts collided on the same key and the cache returned a stale measurement until the user typed a character.
  • 1a9d8eb: Fix font/size/color/highlight changes silently dropping when applied in an empty paragraph (e.g. right after pressing Enter). The mark commands set stored marks before updating the paragraph node, but every transform step clears stored marks — so the chosen value was wiped before dispatch and typed text fell back to the editor default. Reordered so node updates run first.
  • 14d7623: ci(release): fix Slack notification release link to use per-package tag (changesets fixed-group ships @eigenpal/docx-js-editor@X.Y.Z, not vX.Y.Z)

@eigenpal/docx-editor-agents@0.1.1

27 Apr 08:55
cae0827

Choose a tag to compare

@eigenpal/docx-editor-agents@0.1.1

@eigenpal/docx-js-editor@0.1.0

26 Apr 17:27
4d419c3

Choose a tag to compare

Minor Changes

  • 91a6f97: Add fontFamilies prop to DocxEditor to customize the toolbar's font dropdown.

    Pass either bare strings or full FontOption objects (or a mix). Strings render in the "Other" group; FontOption[] enables CSS fallback chains and category grouping. Omitting the prop preserves the existing 12-font default. Closes #278.

    <DocxEditor
      fontFamilies={[
        'Arial',
        { name: 'Roboto', fontFamily: 'Roboto, sans-serif', category: 'sans-serif' },
      ]}
    />

Patch Changes

  • b10a517: Fix three toolbar tooltips/labels that ignored the i18n prop and rendered as English regardless of locale: the comments-sidebar toggle, the outline-toggle button, and the Editing / Suggesting / Viewing mode dropdown (including its descriptions). The translation keys already existed in de.json and pl.json; the components were just bypassing useTranslation(). Now wired through correctly.

@eigenpal/docx-editor-agents@0.1.0

26 Apr 17:27
4d419c3

Choose a tag to compare

Minor Changes

  • 91a6f97: Add fontFamilies prop to DocxEditor to customize the toolbar's font dropdown.

    Pass either bare strings or full FontOption objects (or a mix). Strings render in the "Other" group; FontOption[] enables CSS fallback chains and category grouping. Omitting the prop preserves the existing 12-font default. Closes #278.

    <DocxEditor
      fontFamilies={[
        'Arial',
        { name: 'Roboto', fontFamily: 'Roboto, sans-serif', category: 'sans-serif' },
      ]}
    />

Patch Changes

  • b10a517: Fix three toolbar tooltips/labels that ignored the i18n prop and rendered as English regardless of locale: the comments-sidebar toggle, the outline-toggle button, and the Editing / Suggesting / Viewing mode dropdown (including its descriptions). The translation keys already existed in de.json and pl.json; the components were just bypassing useTranslation(). Now wired through correctly.

v0.0.34

13 Apr 11:05

Choose a tag to compare

What's Changed

  • feat: group consecutive suggestion-mode deletions by @mthenw in #241
  • refactor: cursor-based sidebar expansion for comments and tracked changes by @jedrazb in #244
  • Update README.md by @jedrazb in #250
  • fix: table context menu actions and dialog-backed cell splitting (#243 + review fixes) by @jedrazb in #253
  • feat: add collaborative prop for Yjs integration by @sicko7947 in #247
  • feat(examples): realtime collaboration demo with Yjs + y-webrtc by @jedrazb in #254
  • feat: forward ProseMirror decorations to the layout-painter (closes #256) by @jedrazb in #258

New Contributors

Full Changelog: v0.0.27...v0.0.34

v0.0.33

30 Mar 19:03

Choose a tag to compare

What's Changed

  • fix: ensure DocumentName input is always controlled by @jedrazb in #231
  • fix: header/footer editor line spacing mismatch with layout view by @jedrazb in #228
  • feat: show replacement tracked changes as single sidebar card by @jedrazb in #232
  • feat: i18n support with locale prop and community translations by @jedrazb in #233
  • fix: unicode double-click word selection by @mthenw in #235
  • fix: suggest mode applying spurious underline/strikethrough by @jedrazb in #236
  • feat: add Polish and German translations by @jedrazb in #240

New Contributors

Full Changelog: v0.0.32...v0.0.33

v0.0.32

27 Mar 03:05

Choose a tag to compare

What's Changed

  • fix: improve pagination accuracy for table-heavy documents by @jedrazb in #214
  • fix: track mark-only changes in ParagraphChangeTrackerExtension by @TimurKr in #220
  • fix: comment system bugs — add/resolve/reply/visibility by @jedrazb in #219
  • fix: correct twips→pixels conversion in header/footer measurement by @jedrazb in #224
  • fix: mode="suggesting" prop does not activate track changes by @jedrazb in #225
  • fix: clean up orphaned comments when their text is deleted by @jedrazb in #227

New Contributors

Full Changelog: v0.0.31...v0.0.32

v0.0.31

23 Mar 19:23

Choose a tag to compare

  • feat: add comment event callbacks (onCommentAdd, onCommentResolve, onCommentDelete, onCommentReply)
    • feat: add showOutlineButton prop (#209)
    • feat: export Comment type publicly

v0.0.27

16 Mar 02:24

Choose a tag to compare

What's Changed

  • fix(clipboard) Fix clipboard image paste by @erophames in #133
  • fix: batch fix 10 OOXML compliance and rendering bugs by @jedrazb in #178
  • fix: skip Space key interception during IME composition by @minkichoe in #180
  • fix: hide list indicators when w:vanish set on numbering level rPr by @jedrazb in #173
  • feat: wire multi-column layout rendering from section properties by @jedrazb in #175

New Contributors

Full Changelog: v0.0.26...v0.0.27

v0.0.26

12 Mar 05:14

Choose a tag to compare

Full Changelog: v0.0.25...v0.0.26