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

List Block: allow use of backspace key to convert a list item to a paragraph #34100

Closed
talldan opened this issue Aug 17, 2021 · 1 comment · Fixed by #45075
Closed

List Block: allow use of backspace key to convert a list item to a paragraph #34100

talldan opened this issue Aug 17, 2021 · 1 comment · Fixed by #45075
Assignees
Labels
[Block] List Affects the List Block [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@talldan
Copy link
Contributor

talldan commented Aug 17, 2021

What problem does this address?

It's a standard behavior in Word Processors that using the backspace key at the start of a list item removes the bullet point, effectively turning the list item into normal text. The List Block doesn't seem to do this, which I think is unexpected.

The main use-case would be at the end of a list, a user wants to stop creating list items and go back to creating paragraphs. They press enter to create a new line and then backspace to make it a paragraph. Currently this is possible using the down-arrow key, but this isn't obvious because the editor looks like this:
Screenshot 2021-08-17 at 11 20 47 am

It isn't clear that there's anything to arrow down to from the last list item. Most Word Processors don't do anything when the down arrow is used on the last line.

What is your proposed solution?

Deleting at the start of a list item makes that item a paragraph.

I think the only downside of this would be that deleting a list item that has text in the middle of a list could result in three separate blocks being created (list, paragraph, list), but it could still be worth exploring this for the first or last list item only.

@talldan talldan added [Type] Enhancement A suggestion for improvement. [Block] List Affects the List Block labels Aug 17, 2021
@ehti
Copy link

ehti commented Sep 20, 2021

It would be great to have this solution incorporated.

When the list doesn't go away, no matter if you're pressing delete/backspace or 'unselect' it from the tool bar, it can become a bit frustrating. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] List Affects the List Block [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants