Skip to content

Version bump to 9.52.0#3334

Merged
flyingbee2012 merged 4 commits intomicrosoft:releasefrom
flyingbee2012:biwu/versionbump5726
May 7, 2026
Merged

Version bump to 9.52.0#3334
flyingbee2012 merged 4 commits intomicrosoft:releasefrom
flyingbee2012:biwu/versionbump5726

Conversation

@flyingbee2012
Copy link
Copy Markdown
Contributor

@flyingbee2012 flyingbee2012 commented May 7, 2026

Version bump to 9.52.0

JiuqingSong and others added 4 commits April 28, 2026 22:22
…3330)

* Fix extra list indentation when pasting from Word Desktop

When pasting from Word Desktop, Word's global stylesheet includes margin
declarations on p.MsoListParagraph, div.MsoListParagraph, and their
CxSpFirst/Middle/Last variants. These global CSS rules were being applied
as inline styles before RoosterJS processed the list structure, causing
double-indentation on pasted lists.

- Add globalCssRules to BeforePasteEvent and promote CssRule to a public
  type in roosterjs-content-model-types
- Pass globalCssRules into the BeforePasteEvent from generatePasteOptionFromPlugins
- Add removeListParagraphMargins.ts which strips margin-* properties from
  global CSS rules targeting the Word list paragraph classes; mixed-selector
  rules are split so only the matching selectors lose their margins
- Wire removeListParagraphMargins into processPastedContentFromWordDesktop
  via a new globalCssRules parameter, passed through from PastePlugin
- Set browser in karma client config so itChromeOnly works correctly with
  the fast config

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* revert

* try fix build

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
@flyingbee2012 flyingbee2012 changed the title Biwu/versionbump5726 Version bump to 9.52.0 May 7, 2026
@flyingbee2012 flyingbee2012 merged commit 7870e4b into microsoft:release May 7, 2026
4 checks passed
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.

3 participants