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] Unable to delete a line entirely using CMD+DEL #985

Open
henri9813 opened this issue Nov 29, 2024 · 9 comments
Open

[Bug] Unable to delete a line entirely using CMD+DEL #985

henri9813 opened this issue Nov 29, 2024 · 9 comments
Assignees
Labels

Comments

@henri9813
Copy link

henri9813 commented Nov 29, 2024

Bug Description

Usually, CMD+ DEL ( in macOS ) permit to delete the whole line.

It doesn't work in appflowy. ( it does nothing ).

How to Reproduce

Write a line, and press CMD+ DEL

Expected Behavior

It should work.

Operating System

MacOS

AppFlowy Version(s)

0.7.5

Screenshots

image

Additional Context

No response

@LucasXu0 LucasXu0 self-assigned this Dec 2, 2024
@LucasXu0
Copy link
Collaborator

LucasXu0 commented Dec 2, 2024

@henri9813 We support CMD+Backspace to delete a line. Is it common on your keyboard to use CMD+Delete to delete a line? I tested on macOS, and most applications use CMD+Backspace to delete a line.

Similar issue: AppFlowy-IO/AppFlowy#6886, OPTION+Backspace to delete a word. But from your screenshot, it seems your keyboard only has the "Delete" key.

@henri9813
Copy link
Author

Sorry, I mean cmd + backspace, but it works randomly.

@henri9813
Copy link
Author

I dont know precisely box reproduce it, but it happens often on the first block of a new card page

@LucasXu0
Copy link
Collaborator

LucasXu0 commented Dec 3, 2024

@henri9813 Do you mean the document on the board card?

Screenshot 2024-12-03 at 14 20 24

@henri9813
Copy link
Author

Yes, often, the first line of the first black don't support cmd + back neither other shortcut

@henri9813
Copy link
Author

but it's random 🤡

@LucasXu0
Copy link
Collaborator

LucasXu0 commented Dec 9, 2024

@henri9813 I still haven't been able to reproduce it on macOS. I can always use cmd+backspace/del to remove the entire line. If you have any more reproducible steps, that would be better to address this issue.

@LucasXu0 LucasXu0 added the editor features related to the rich-text editor label Dec 9, 2024
@LucasXu0 LucasXu0 transferred this issue from AppFlowy-IO/AppFlowy Dec 9, 2024
@henri9813
Copy link
Author

Update info, when the bug occur, no text shortcuts works, but when I click again on the text, everything works again.

The issue occurred often on the first block or on page opening.

@henri9813
Copy link
Author

go in a db one, open a modal, type text, close it.
go to db2, open a modal, type text, CMD + backspace not working

Here is the way to be come a Master bug

@LucasXu0 LucasXu0 added p0 and removed editor features related to the rich-text editor labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants