This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+7 more
Summary
AI summaryUpdates Minor Changes, Patch Changes, and d791e05 across a mixed release.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| 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/findContentControldiscover block-level content controls by tag, alias, id, or type and read their text plus modeled state (showingPlaceholder,checked,dateFormat,listItems,dataBinding);setContentControlContentfills a control by tag (string or block content) andremoveContentControldeletes or unwraps one. Edits preserve the control's identity and raw properties so the document still round-trips, clear thew:showingPlcHdrplaceholder 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.
getContentControlslists block controls in the live document (filtered by tag/alias/id/type) with their text and position;scrollToContentControlbrings one into view;setContentControlContentfills a control by tag (as a normal undoable edit);removeContentControldeletes 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 thesetContentControlValueeditor-ref method (React + Vue) set a dropdown selection, toggle a checkbox, or set a date by tag, updating both the visible content and the structuredw:sdtPrstate (dropdownw:lastValue,w14:checked,w:date'sw: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
About Docx Editor
All releases →Related context
Related tools
Earlier breaking changes
- v@eigenpal/[email protected] Shared i18n package extracted into @eigenpal/docx-editor-i18n.
- v@eigenpal/[email protected] `showPrintButton` prop removed from `<DocxEditor>` and toolbar components.
- v@eigenpal/[email protected] Toolbar naming unified across React and Vue adapters; classic toolbar removed.
- v@eigenpal/[email protected] Agent UI components relocated to new agent packages and API changed.
- v@eigenpal/[email protected] Shared i18n package extracted from adapters into dedicated locale bundle.
Beta — feedback welcome: [email protected]