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

Last list item gets removed when cursor is at end of list item and <delete> on keyboard is pressed #1277

Closed
CoenWarmer opened this issue Jan 19, 2017 · 0 comments

Comments

@CoenWarmer
Copy link

CoenWarmer commented Jan 19, 2017

Last list item gets removed when cursor is at end of list item and on keyboard is pressed.

Steps for Reproduction

  1. Visit Quill playground
  2. Enter a bulleted or ordered list consisting of at least 2 items
  3. Enter a paragraph with some text after the list
  4. Place cursor at the end of the last list item
  5. Press <delete> on keyboard
  6. Notice the text of the last list item is amended to the paragraph text that was entered in step 3, and the bullet is removed.

Expected behavior:

The text of the paragraph is amended to the last bullet item, and the last bullet is not removed. This is more consistent with behavior of Microsoft Word and Google Docs.

Actual behavior:

The last bullet is removed.

Platforms:

All browsers, all platforms.

Version:

v1.1.10

Screenshots:
first
second

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants