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

Unable to type after deleting text #1254

Closed
peterweck opened this issue Jan 10, 2017 · 10 comments
Closed

Unable to type after deleting text #1254

peterweck opened this issue Jan 10, 2017 · 10 comments

Comments

@peterweck
Copy link

Type some text in the editor, then go go back to the beginning of the text and use the "Delete" key to delete all the text. You are no longer able to type any text until you add a return (which you do not see displayed). After adding a return, the new text you type is displayed.

This is only happening on Edge and IE 11, not on Chrome.

Also, oddly enough, this does not happen on the quill home page (http://quilljs.com/), but does seem to happen anywhere else.

Steps for Reproduction

  1. Visit: http://quilljs.com/playground/
  2. Click into the editor box where it says "Compose an epic..."
  3. Type the word "test"
  4. Use the arrow keys to move the start of the word
  5. Press the "Delete" key 4 times to delete all the text
  6. You are now unable to type without hitting return first

Expected behavior:

You should be able to type just as you did when you first entered the editor.

Actual behavior:

You are not able to type any new text.

Platforms:

Windows 10 Home, Version 1607 (OS Build 14393.576)
Microsoft Edge 38.14393.0.0 and IE 11 (Version: 11.576.14393.0)

Version:

1.1.9

@jman123
Copy link

jman123 commented Jan 10, 2017

I see this same issue on http://quilljs.com/playground/ when using Firefox/Windows 7 and IE 11/Windows 7.

And this bug happens whether you use the "Delete" key or the "Backspace" key.

@EladBet
Copy link

EladBet commented Jan 15, 2017

Here too, Firefox with windows 10, Quill Version 1.1.8

@jhchen jhchen closed this as completed in b6b4a66 Jan 16, 2017
@EladBet
Copy link

EladBet commented Jan 16, 2017

Didn't fix it on FF nor IE.
You can see the same behavior on Quill Playground

jhchen added a commit that referenced this issue Jan 18, 2017
@jman123
Copy link

jman123 commented Jan 18, 2017

Hi Jason - Has Quill Playground been updated with your latest fix?

On Quill Playground, I'm seeing the same bug on FF/Win 7 and IE11/Win 7. Thanks.

@jhchen
Copy link
Member

jhchen commented Jan 18, 2017

No it has not. You can always check the version by logging Quill.version.

@EladBet
Copy link

EladBet commented Jan 18, 2017

Great thanks

@peterweck
Copy link
Author

Just tested with a build from the develop branch and is now working. Thanks for the fix!

@jman123
Copy link

jman123 commented Jan 18, 2017

Thanks, Jason.
Looking forward to your next release that includes this fix.

@jhchen
Copy link
Member

jhchen commented Jan 21, 2017

1.2.0 is now released with the fix hopefully all is well this time. For the record, the reason the quilljs.com homepage did not exhibit this bug is because it included the syntax module which incidentally added additional selection save/restore logic. Thank you for your patience everyone.

@jbuhawe
Copy link

jbuhawe commented Mar 2, 2018

Hello!

I would like to ask if this is a bug? I used https://quilljs.com/playground/#custom-fonts in IE 11. The texts do not change into selected font type. Then I tried deleting the whole texts. Change font type first to Mirza. I typed "hello", used left arrow key until I reached the first character then started deleting it. On the first try it was ok. Then I typed again, moved arrow key to the left. When I started hitting delete key, the cursor will jump to the rightmost side.

Thank you so much!

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

5 participants