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

Inserting a hyphen deletes text #1723

Closed
altschuler opened this issue Sep 26, 2017 · 3 comments
Closed

Inserting a hyphen deletes text #1723

altschuler opened this issue Sep 26, 2017 · 3 comments

Comments

@altschuler
Copy link

altschuler commented Sep 26, 2017

Steps for Reproduction

  1. Visit quilljs.com
  2. In the editor place cursor after first paragraph
  3. Turn on bold
  4. Type "foo" (or anything else)
  5. Turn off bold
  6. Type <space><hyphen><space> (actual spaces " " and hyphen "-")

Expected behavior:
No text should be deleted

Actual behavior:
The first three characters of the paragraph are deleted.

Platforms: all
Version: latest

@benbro
Copy link
Contributor

benbro commented Sep 26, 2017

I can reproduce with:
Firefox 55, Windows 7
Quill 1.3.2

@benbro
Copy link
Contributor

benbro commented Sep 26, 2017

Also happens with Quill 1.30.
In Quill 1.2.1 - 1.2.6 the characters aren't deleted but a bullet is created instead of adding the hyphen.
Quill 1.2.0 works as expected.

@altschuler
Copy link
Author

Thank you for testing that! :)

@jhchen jhchen closed this as completed in 21b0735 Oct 5, 2017
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

2 participants