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

Auto detect clear mode when clear format #1363

Merged
merged 2 commits into from
Oct 26, 2022

Conversation

JiuqingSong
Copy link
Collaborator

Fix the behavior of clear format button in roosterjs-react, auto detect clear mode.

  • If only part of a paragraph is selected, clear inline format only
  • If a full paragraph or multiple paragraphs are selected, clear both inline format and block format

@JiuqingSong JiuqingSong merged commit d708fc2 into master Oct 26, 2022
@JiuqingSong JiuqingSong deleted the u/jisong/autodetectclearformat branch October 26, 2022 22:57
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