Version bump to 9.52.0#3334
Merged
flyingbee2012 merged 4 commits intomicrosoft:releasefrom May 7, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
…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]>
JiuqingSong
approved these changes
May 7, 2026
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.
Version bump to 9.52.0