Merged
Conversation
# [1.18.0](v1.17.0...v1.18.0) (2026-03-05) ### Bug Fixes * add type definitions for PresentationEditor ([#2271](#2271)) ([5402196](5402196)) * **document-api:** fix markdown to image ([bf0e664](bf0e664)) * **document-api:** make lists.setType preserve sequence continuity ([#2304](#2304)) ([da09826](da09826)) * **editor:** prevent focus loss when typing in header/footer editors (SD-1993) ([#2238](#2238)) ([e1b8007](e1b8007)), closes [PresentationEditor.#flushRerenderQueue](https://github.com/PresentationEditor./issues/flushRerenderQueue) * **export:** sync document XML before numbering pruning to preserve list definitions ([36058c3](36058c3)) * **format:** route format.caps through textTransform so w:caps persists on export ([#2297](#2297)) ([8e771e2](8e771e2)) * handle Uint8Array media values from persistence layers ([#2298](#2298)) ([0d4505c](0d4505c)) * harden markdown image conversion ([4ba1c25](4ba1c25)) * **link-popover:** mount external popovers outside overflow:hidden container (SD-2148) ([#2308](#2308)) ([ea4be68](ea4be68)) * make expected revision optional, update docs ([#2265](#2265)) ([250bb5b](250bb5b)) * **painter-dom:** prevent scroll acceleration feedback loop in virtualization ([#2291](#2291)) ([fb3d25e](fb3d25e)) * portrait orientation in document-api ([dafab76](dafab76)) * **sdk:** keep sdk sessions alive in non collab ([#2289](#2289)) ([c634ee8](c634ee8)) * **super-editor:** align image resize handles with actual image position ([#2293](#2293)) ([217bdce](217bdce)) * **test:** stabilize flaky cleanUpParagraphWithAnnotations tests ([#2262](#2262)) ([7bafb7f](7bafb7f)) * **virtualization:** compute scrollY relative to scroll container, not viewport ([#2263](#2263)) ([370ca5e](370ca5e)) ### Features * **document-api:** add getHtml operation, fix HTML insert and SDK tool selection ([#2264](#2264)) ([c554678](c554678)) * **document-api:** clear content command ([#2300](#2300)) ([46b5261](46b5261)) * **document-api:** hyperlinks commands ([#2294](#2294)) ([4d3bebd](4d3bebd)) * **document-api:** initial image commands ([#2290](#2290)) ([d624231](d624231)) * **document-api:** insert table adds extra separator to match ms word ([#2301](#2301)) ([5e49613](5e49613)) * **document-api:** make styles.apply registry-driven with schema/validation ([#2267](#2267)) ([cab54ba](cab54ba)) * **document-api:** more image commands ([#2295](#2295)) ([4fbbbc9](4fbbbc9)) * **document-api:** more lists commands ([#2288](#2288)) ([eb48bf1](eb48bf1)) * **links:** convert pasted hyperlinks into real docx links ([#2270](#2270)) ([7d75522](7d75522)) * **markdown:** import images from markdown ([#2303](#2303)) ([b2f6a1a](b2f6a1a)) * support TIFF images in DOCX rendering ([#2284](#2284)) ([6436d86](6436d86)), closes [#2064](#2064) * **tracked-changes:** allow partial tracked change resolution ([#2252](#2252)) ([988598d](988598d)) * **web-view:** new layout engine based web view ([#2100](#2100)) ([a353b82](a353b82))
# [1.18.0](v1.17.0...v1.18.0) (2026-03-05) ### Bug Fixes * add type definitions for PresentationEditor ([#2271](#2271)) ([5402196](5402196)) * **document-api:** fix markdown to image ([bf0e664](bf0e664)) * **document-api:** make lists.setType preserve sequence continuity ([#2304](#2304)) ([da09826](da09826)) * **editor:** prevent focus loss when typing in header/footer editors (SD-1993) ([#2238](#2238)) ([e1b8007](e1b8007)), closes [PresentationEditor.#flushRerenderQueue](https://github.com/PresentationEditor./issues/flushRerenderQueue) * **export:** sync document XML before numbering pruning to preserve list definitions ([36058c3](36058c3)) * **format:** route format.caps through textTransform so w:caps persists on export ([#2297](#2297)) ([8e771e2](8e771e2)) * handle Uint8Array media values from persistence layers ([#2298](#2298)) ([0d4505c](0d4505c)) * harden markdown image conversion ([4ba1c25](4ba1c25)) * **link-popover:** mount external popovers outside overflow:hidden container (SD-2148) ([#2308](#2308)) ([ea4be68](ea4be68)) * make expected revision optional, update docs ([#2265](#2265)) ([250bb5b](250bb5b)) * **painter-dom:** prevent scroll acceleration feedback loop in virtualization ([#2291](#2291)) ([fb3d25e](fb3d25e)) * portrait orientation in document-api ([dafab76](dafab76)) * **sdk:** keep sdk sessions alive in non collab ([#2289](#2289)) ([c634ee8](c634ee8)) * **super-editor:** align image resize handles with actual image position ([#2293](#2293)) ([217bdce](217bdce)) * **test:** stabilize flaky cleanUpParagraphWithAnnotations tests ([#2262](#2262)) ([7bafb7f](7bafb7f)) * **virtualization:** compute scrollY relative to scroll container, not viewport ([#2263](#2263)) ([370ca5e](370ca5e)) ### Features * **document-api:** add getHtml operation, fix HTML insert and SDK tool selection ([#2264](#2264)) ([c554678](c554678)) * **document-api:** clear content command ([#2300](#2300)) ([46b5261](46b5261)) * **document-api:** hyperlinks commands ([#2294](#2294)) ([4d3bebd](4d3bebd)) * **document-api:** initial image commands ([#2290](#2290)) ([d624231](d624231)) * **document-api:** insert table adds extra separator to match ms word ([#2301](#2301)) ([5e49613](5e49613)) * **document-api:** make styles.apply registry-driven with schema/validation ([#2267](#2267)) ([cab54ba](cab54ba)) * **document-api:** more image commands ([#2295](#2295)) ([4fbbbc9](4fbbbc9)) * **document-api:** more lists commands ([#2288](#2288)) ([eb48bf1](eb48bf1)) * **links:** convert pasted hyperlinks into real docx links ([#2270](#2270)) ([7d75522](7d75522)) * **markdown:** import images from markdown ([#2303](#2303)) ([b2f6a1a](b2f6a1a)) * support TIFF images in DOCX rendering ([#2284](#2284)) ([6436d86](6436d86)), closes [#2064](#2064) * **tracked-changes:** allow partial tracked change resolution ([#2252](#2252)) ([988598d](988598d)) * **web-view:** new layout engine based web view ([#2100](#2100)) ([a353b82](a353b82))
## [1.18.1](v1.18.0...v1.18.1) (2026-03-10) ### Bug Fixes * **export:** prevent DOCX corruption from UTF-16 XML parts and schema violations (SD-2170) ([#2349](#2349)) ([f6dbb40](f6dbb40))
β¦rmatting SD-2188: The `!textRun.highlight` guard in the renderer prevented comment highlights from being applied when text also had Word highlight formatting (`<w:highlight>`). This caused comments on highlighted text to be invisible. Removed the guard so comment highlights always take precedence, matching Word's behavior.
β¦ overrides Word highlight
The previous assertion (not.toBe('')) passed on both old and new code
since applyRunStyles already sets backgroundColor from the Word highlight.
Now asserts the color is NOT the Word yellow (#ffff00).
β¦rd highlight (SD-2188) Cover the full matrix: comment highlight overrides Word highlight in idle, active, and faded states.
β¦avigation goToAnchor was scrolling the visibleHost element which has overflow:visible and cannot scroll. Now uses #scrollContainer (the first scrollable ancestor) and computes precise Y offsets from layout fragment positions for sub-page scroll precision. SD-2186
- Remove rect?.top (Rect type has no top property, was always undefined) - Scale fragmentY by zoom factor before mixing with screen-space coords - Thread zoom from PresentationEditor into goToAnchor deps - Add unit tests for precision scroll, zoom scaling, and gap fallback
Tests clicking TOC entry links and verifying: - Caret moves to the bookmark position (SD-2186) - Scroll position changes for cross-page navigation
## [1.18.2](v1.18.1...v1.18.2) (2026-03-11) ### Bug Fixes * **anchor-nav:** use correct scroll container for sub-page bookmark navigation ([a300536](a300536)), closes [#scrollContainer](https://github.com/superdoc-dev/superdoc/issues/scrollContainer) * **rendering:** show comment highlight on text with Word highlight formatting ([f6d956e](f6d956e)) * **toc:** correct zoom scaling and rect.top bug in anchor scroll ([16c768f](16c768f))
# Conflicts: # packages/superdoc/CHANGELOG.md # packages/superdoc/package.json
Contributor
Author
|
π This PR is included in superdoc-cli v0.2.0 The release is available on GitHub release |
Collaborator
|
π This PR is included in superdoc v1.19.0 The release is available on GitHub release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Merges latest stable patches into main to keep branches in sync.
Release artifact conflicts (package.json version, CHANGELOG.md) were auto-resolved.
Auto-created by sync-patches workflow.