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] Overwriting a selected text removes more than expected #7679

Closed
WagnerGFX opened this issue Apr 3, 2025 · 1 comment · Fixed by #7714
Closed

[Bug] Overwriting a selected text removes more than expected #7679

WagnerGFX opened this issue Apr 3, 2025 · 1 comment · Fixed by #7714
Assignees
Labels
editor features related to the rich-text editor v0.8.9

Comments

@WagnerGFX
Copy link

Bug Description

Selecting a word and overwriting it by typing in the keyboard results in more text being deleted beyond what was selected.

How to Reproduce

  • Write a small paragraph
  • select a word in it
  • type new text over it

Expected Behavior

Only the selected text should be replaced.

Operating System

Windows 10

AppFlowy Version(s)

0.8.8

Screenshots

AppFlowy.-.Text.mp4

Additional Context

  • Overwriting a selected text at the end of a line just deletes the text, without inserting the new character.
  • Overwriting selected text with the same initial letter is, for some reason, okay.
  • Deleting selected text is also okay.
  • Pasting in selected text is also okay.

I was also able to reproduce it in v0.8.7, but didn't try on older versions.

@githubcatheaven
Copy link

I think this bug need to be fixed asap because it happens everyday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor features related to the rich-text editor v0.8.9
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants