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

Do not consider Bold, Italic and Underline from ContentModelDocument when retrieving the FormatState #2081

Merged
merged 5 commits into from
Sep 21, 2023

Conversation

BryanValverdeU
Copy link
Contributor

@BryanValverdeU BryanValverdeU commented Sep 19, 2023

Do not consider the Bold, Italic and Underline from the ContentModelDocument default format when calling retrieveFormatState, in order to fix an issue where the FormatState is showing that the selected content is underlined or bolded when the format is not applied to the current selected elements.

Before
DFBefore
After
DFAfter

@BryanValverdeU BryanValverdeU merged commit e808fbf into master Sep 21, 2023
7 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.

2 participants