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

[BUG] Text selection color disappears or dislocates #371

Open
1 task done
GaganpreetKaurKalsi opened this issue Nov 2, 2024 · 2 comments
Open
1 task done

[BUG] Text selection color disappears or dislocates #371

GaganpreetKaurKalsi opened this issue Nov 2, 2024 · 2 comments

Comments

@GaganpreetKaurKalsi
Copy link

Has this bug been raised before?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Description

  • When selecting a text and taking an action from toolbar say "Bold", the selection color from text disappears making it hard to figure out what text was selected
  • If codeblock is part of the selected text, the selection color is persisted after taking any action but it dislocates from it's original position.

Both scenarios I have recorded in a video here

Screenshots

No response

Do you want to work on this issue?

No

@Darginec05
Copy link
Collaborator

Thanks for reporting issue :)
This is common issue with rich-text editors.
Browser lost selection when you focus on other element.

So, it's time to create fake selection for such cases

@GaganpreetKaurKalsi
Copy link
Author

Cool,
I'll give some time to the problem statement and see if I can come up with a solution. Still need to go through the code files :)

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

No branches or pull requests

2 participants