Darginec05 / Yoopta-Editor

Build Notion-like, Craft-like, Coda-like, Medium-like editors with Yoopta
https://yoopta.dev/
MIT License
1.37k stars 104 forks source link

[BUG] Text selection color disappears or dislocates #371

Open GaganpreetKaurKalsi opened 5 days ago

GaganpreetKaurKalsi commented 5 days ago

Has this bug been raised before?

Description

Both scenarios I have recorded in a video here

Screenshots

No response

Do you want to work on this issue?

No

Darginec05 commented 5 days ago

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 commented 4 days ago

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 :)