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: workaround disappearing text on spellcheck suggestion #6507

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

web-padawan
Copy link
Member

Description

Fixes #6369

Added a workaround from slab/quill#2096 (comment)

No tests as the issue can be only tested manually 😕

Type of change

  • Bugfix

@sonarcloud
Copy link

sonarcloud bot commented Sep 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

if (child.unwrap) child.unwrap();
});

this.remove();
Copy link
Member Author

Choose a reason for hiding this comment

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

If you comment out this line, you'll notice that the DOM node is originally a <font> element, inserted by the browser spellcheck functionality exactly as described in slab/quill#2096 (comment).

Screenshot 2023-09-18 at 15 54 59

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.2.0.beta1 and is also targeting the upcoming stable 24.2.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[rich-text-editor] When applying spellcheck suggestion, the text disappears
3 participants