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

When press enter on empty indented bullet, should take you to beginning of line #707

Closed
sachinrekhi opened this issue May 25, 2016 · 0 comments

Comments

@sachinrekhi
Copy link
Contributor

Love that you've added the convention of pressing enter on an empty bullet clearing the bullet. Improves productivity and mirrors the experience in Google Docs, Word, Evernote, etc.

One nit is that I'd love to see the interaction improved when you press enter on an indented bullet. Today it simply removes the bullet but keeps you indented. So I still have to hit delete several times to get back to the beginning of the line. I think the intention is to always end the bullets and begin at the beginning of the line, so don't see a scenario where I'd want to stay indented. Google Docs has this behavior of returning you to the beginning of the line.

Alternatively if that ends up being hard to implement, then at least having enter mimic the delete behavior on an empty indented bullet would be helpful (in that enter unindents the bullet one level just like delete does). Word has this behavior of simply unindenting one level on enter.

Steps for Reproduction

  1. Visit beta.quilljs.com
  2. Add empty bullet
  3. Indent bullet
  4. Press enter

Expected behavior:
Clears the bullet and returns me to beginning of line

Actual behavior:
Clears the bullet but leaves me indented

Platforms:
Chrome 50 on Mac 10.11

Version:
Quill 1.0 Beta 3

@jhchen jhchen closed this as completed in 7196bf2 May 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant