Skip to content

Version bump main: 9.56.0 -> 9.57.0 - #3423

Merged
JiuqingSong merged 25 commits into
releasefrom
u/jisong/bump-9.57.0
Jul 31, 2026
Merged

Version bump main: 9.56.0 -> 9.57.0#3423
JiuqingSong merged 25 commits into
releasefrom
u/jisong/bump-9.57.0

Conversation

@JiuqingSong

Copy link
Copy Markdown
Collaborator

Version bump

Group Old Version New Version
main 9.56.0 9.57.0

This is a minor bump: only additive, backward-compatible public API changes were introduced (new exports, new optional properties, new interface methods, new experimental feature and change-source values). No breaking changes and no changes to the react, legacyAdapter, or overrides groups.

Changes included

haven2world and others added 25 commits July 2, 2026 10:10
* Add auto markdown conversion callback

* Use auto markdown conversion source

---------

Co-authored-by: Jiuqing Song <jisong@microsoft.com>
generateDataURL sizes the output canvas by window.devicePixelRatio, but the expected newSrc images were captured at 100% scale, so the IHDR dimension assertions failed on hosts at other scales. Pin devicePixelRatio to 1 for these tests so canvas output is deterministic regardless of screen scale.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ties (#3390)

* Update Content Model demo view with missing types, formats and properties

Add renderers and wiring for Content Model format parts and node properties
that were missing from the debug/demo Content Model view: Aria, Role,
LegacyTableBorder, BoxShadow, ImageState and Undeletable renderers, plus block
Id, table/cell/list/link/image format coverage and image alt/title and entity
isFakeEntity properties.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* support ContentModelData

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…type (#3397)

* Enhance PasteTypeGetter to allow calling getDocumentSource for paste type

Expand the PasteTypeGetter signature to also receive the editor environment and the pasted content metadata (HTML attributes), so callers can invoke getDocumentSource inside the getter to detect the paste source and set the correct paste type.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Reset plugins test and add paste unit test asserting getter params are defined

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix retrieveHtmlInfo global CSS test to allow border-image initial or none

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
)

Co-authored-by: Liang Meng <liangmeng@microsoft.com>
Co-authored-by: Bryan Valverde U <bvalverde@microsoft.com>
Bumps [websocket-driver](https://github.com/faye/websocket-driver-node) from 0.7.3 to 0.7.5.
- [Changelog](https://github.com/faye/websocket-driver-node/blob/main/CHANGELOG.md)
- [Commits](faye/websocket-driver-node@0.7.3...0.7.5)

---
updated-dependencies:
- dependency-name: websocket-driver
  dependency-version: 0.7.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix ordered-list numbering when converting markdown to the Content Model. createListFromMarkdown / createBlockGroupFromMarkdown now receive the current list context (lastList) from markdownProcessor, and when a new ordered list starts (no preceding list item), the leading marker number is parsed and applied as startNumberOverride on the list level. Previously a new ordered list that followed a paragraph did not restart its numbering from the markdown marker; now it does, while continuation items within the same list keep flowing without an override.
Pasting large images can cause the editor to jump far into view, which forces the user to scroll back to where the cursor was. When images are pasted, the caret should not be scrolled into view.
#3401)

Forward the editor's experimental features into createDomToModelContextForSanitizing so that the TransformTableBorderColors experimental feature is honored while sanitizing pasted content. Previously experimentalFeatures was hard-coded to an empty array in the sanitizing context, so table border color transformation never ran during paste. `mergePasteContent now passes all editor experimental features.
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.16.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@1.1.11...v1.1.16)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.16
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiuqing Song <jisong@microsoft.com>
…ump (#3404)

* [Image Edit] Skip DOM selection during image edit to prevent editor jump

Add a skipDOMSelection option to FormatContentModelOptions and honor it in
formatContentModel so callers can avoid resetting the DOM selection after
writing the DOM tree. ImageEditPlugin passes skipDOMSelection: true when
entering edit mode, replacing the previous approach of pinning the shadow
host width/height to the original image footprint.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02ace9a1-26cc-4655-9ecc-a56c32a2bbf0

* fixes

* fixes

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02ace9a1-26cc-4655-9ecc-a56c32a2bbf0
* Fix PowerPoint paste bug with list markers in table cells

Skip list-item processing for table elements and clear the list marker
font size so it does not overflow the table cell.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add unit tests and scope list marker font size removal to tables

Only remove the list marker font size when the list is inside a table
cell, and add unit tests covering table detection and marker font size.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…e on paste (#3399)

When pasting cells that came from a horizontal split next to a vertically
split cell, the pasted cells were being vertically merged. Reset spanAbove
on all incoming source table cells during a table-into-table merge so pasted
cells become standalone cells instead of continuations of a vertical merge.

Repro:
OS: Win 11
Monarch: 1.2026.226.200 Ring - Dogfood
OWA: 20260227032
- New mail
- Insert a table
- Split a cell horizontally > Split another cell vertically in the same row
- Input some content in the horizontal split cells
- Copy the horizontal split cells and then paste
- Observe

Actual: The pasted cells were vertically merged.
Expect: Pasting should not cause cells to merge.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4f27a803-6207-4fd0-a540-4ab839bbe28a
The id and styles on image wrapper were causing it to persist on the editor after quit image editing, adding multiples div on the editor.
Bumps [immutable](https://github.com/immutable-js/immutable-js) from 4.3.8 to 4.3.9.
- [Release notes](https://github.com/immutable-js/immutable-js/releases)
- [Changelog](https://github.com/immutable-js/immutable-js/blob/main/CHANGELOG.md)
- [Commits](immutable-js/immutable-js@v4.3.8...v4.3.9)

---
updated-dependencies:
- dependency-name: immutable
  dependency-version: 4.3.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiuqing Song <jisong@microsoft.com>
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.2...v3.1.4)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiuqing Song <jisong@microsoft.com>
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.11 to 3.4.12.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](cure53/DOMPurify@3.4.11...3.4.12)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.12
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiuqing Song <jisong@microsoft.com>
When a user starts editing an image (rotate/resize handles), the editor no longer forces a DOM image selection on the edited image. The setDOMSelection function will reselect the image due the isEditingImage hidden property, causing the same image to be selected again as new image, then we should skip DOM Selection for this scenario.
#3412)

Adds support for dropping content within the same editor (internal drag-and-drop), gated behind the new HandleDropInternalContent experimental feature.
When a range selection contains a single image, pressing Shift+F10 (the keyboard shortcut that opens the context menu) now promotes the selection to an image selection before the menu opens. This ensures the context menu operates on the image rather than the surrounding text range. Implemented in SelectionPlugin.ts by detecting Shift+F10 on a range selection and, when isSingleImageInSelection returns an image, calling setDOMSelection with an image selection.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9d5e0636-2f49-4e6e-95fa-ebb881260a6c
@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-31 18:17 UTC

@JiuqingSong
JiuqingSong marked this pull request as ready for review July 31, 2026 17:37
@JiuqingSong
JiuqingSong merged commit 0313d2e into release Jul 31, 2026
8 checks passed
@JiuqingSong
JiuqingSong deleted the u/jisong/bump-9.57.0 branch July 31, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants