Skip to content

Docx Editor

v@eigenpal/[email protected] Feature

This release adds 3 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

docx docx-editor editor javascript msword next
+7 more
prosemirror react vite vue word word-editor wysiwyg

Summary

AI summary

Updates Minor Changes, Patch Changes, and d791e05 across a mixed release.

Changes in this release

Feature Medium

Make block-level content controls (`w:sdt`) editable in the editor.

Make block-level content controls (`w:sdt`) editable in the editor.

Source: granite4.1:30b@2026-06-01-audit

Confidence: low

Feature Medium

Add a headless API to discover and manipulate block-level content controls by tag, alias, id, or type.

Add a headless API to discover and manipulate block-level content controls by tag, alias, id, or type.

Source: granite4.1:30b@2026-06-01-audit

Confidence: low

Feature Medium

Expose content-control methods (`getContentControls`, `scrollToContentControl`, `setContentControlContent`, `removeContentControl`) on the editor ref for React and Vue adapters.

Expose content-control methods (`getContentControls`, `scrollToContentControl`, `setContentControlContent`, `removeContentControl`) on the editor ref for React and Vue adapters.

Source: granite4.1:30b@2026-06-01-audit

Confidence: low

Feature Medium

Add typed value setters (`setContentControlValue`) for dropdowns, checkboxes, and dates in both headless and editor-ref APIs.

Add typed value setters (`setContentControlValue`) for dropdowns, checkboxes, and dates in both headless and editor-ref APIs.

Source: granite4.1:30b@2026-06-01-audit

Confidence: low

Feature Medium

Support repeating sections (`w15:repeatingSection`) with add/remove operations and UI affordances in React and Vue.

Support repeating sections (`w15:repeatingSection`) with add/remove operations and UI affordances in React and Vue.

Source: granite4.1:30b@2026-06-01-audit

Confidence: low

Bugfix Medium

Preserve block‑level content controls (`w:sdt`) on save, fixing loss of tags and properties.

Preserve block‑level content controls (`w:sdt`) on save, fixing loss of tags and properties.

Source: llm_adapter@2026-06-01

Confidence: high

Bugfix Medium

Fix paragraph styles on empty paragraphs and after headings when pressing Enter.

Fix paragraph styles on empty paragraphs and after headings when pressing Enter.

Source: llm_adapter@2026-06-01

Confidence: high

Full changelog

Minor Changes

  • 362a65f: Make block-level content controls (w:sdt) editable. Block structured document tags wrapping paragraphs or tables now convert to a dedicated ProseMirror node, so their content stays editable and the control survives the full edit cycle (previously it round-tripped on save but was flattened in the editor). The control boundary is drawn around its content in the paged view, and the region remains addressable by its tag/alias.
  • d791e05: Add a content-control (SDT) addressing API to the headless surface. findContentControls/findContentControl discover block-level content controls by tag, alias, id, or type and read their text plus modeled state (showingPlaceholder, checked, dateFormat, listItems, dataBinding); setContentControlContent fills a control by tag (string or block content) and removeContentControl deletes or unwraps one. Edits preserve the control's identity and raw properties so the document still round-trips, clear the w:showingPlcHdr placeholder flag when writing real content, and refuse locked controls, typed controls (dropdown/date/…), and repeating-section unwraps unless forced. Makes content controls usable as stable anchors for templates and document automation.
  • d791e05: Add content-control (SDT) methods to the editor ref. getContentControls lists block controls in the live document (filtered by tag/alias/id/type) with their text and position; scrollToContentControl brings one into view; setContentControlContent fills a control by tag (as a normal undoable edit); removeContentControl deletes or unwraps one. Locked controls are refused unless forced. Paired across the React and Vue adapters.
  • a60ed77: Add typed value setters for content controls. setContentControlValue (headless) and the setContentControlValue editor-ref method (React + Vue) set a dropdown selection, toggle a checkbox, or set a date by tag, updating both the visible content and the structured w:sdtPr state (dropdown w:lastValue, w14:checked, w:date's w:fullDate). Validates the value against the control type and list items.
  • a60ed77: Support repeating sections (w15:repeatingSection) with add/remove, matching Word. addRepeatingSectionItem/removeRepeatingSectionItem (headless) clone an item with fresh unique ids or drop one (keeping at least one); the editor renders +/✕ affordances on each repeating item in React and Vue. Items round-trip losslessly.

Patch Changes

  • e30c763: Preserve block-level content controls (w:sdt) on save. Block-level structured document tags wrapping paragraphs or tables were silently dropped when a document was loaded and re-saved; they now round-trip losslessly, including their tag, alias, lock, and other properties. Fixes #622
  • bc67374: Fix paragraph styles on empty paragraphs and the style that follows a heading on Enter. Applying a heading style to an empty paragraph and then typing now produces styled text instead of plain body text, and the style picker shows the right state. Pressing Enter at the end of a heading now starts the next paragraph in the style's follow-on style (body text) instead of another heading.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Docx Editor

Get notified when new releases ship.

Sign up free

About Docx Editor

All releases →

Related context

Earlier breaking changes

Beta — feedback welcome: [email protected]