Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #2927 Fix the check of format state change #2944

Merged
merged 2 commits into from
Feb 12, 2025
Merged

Conversation

JiuqingSong
Copy link
Collaborator

There is a code bug in RibbonPlugin in roosterjs-react that causes the format state change check to fail when some property does not exist in the new format state.

Fix it by checking key count as well.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@JiuqingSong JiuqingSong merged commit ce1afbe into master Feb 12, 2025
7 checks passed
@JiuqingSong JiuqingSong deleted the u/jisong/2927 branch February 12, 2025 18:56
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.

2 participants