AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
57.02k stars 3.73k forks source link

[Bug] Cursor Highlight in Left Direction Skips Space #6433

Closed StreamlinedStartup closed 2 weeks ago

StreamlinedStartup commented 3 weeks ago

Describe the bug Highlighting empty space skips a space when moving left.

To Reproduce

  1. Start a new line
  2. Introduce a few spaces, then write a word
  3. Select just before the first letter and attempt to remove the empty space

Expected behavior Highlight should start where clicked.

Screenshots

https://github.com/user-attachments/assets/92812412-d336-4056-8331-480153444b67

Desktop (please complete the following information):

Additional context

khorshuheng commented 2 weeks ago

@StreamlinedStartup I have transferred this issue to AppFlowy repo for better visibility, as this issue is related to the frontend as opposed to AppFlowy Cloud.