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

[Regression in 1.1.1] Uncaught TypeError: Cannot read property '0' of undefined(…) when using backspace to remove a character #1067

Closed
eamodio opened this issue Oct 21, 2016 · 1 comment

Comments

@eamodio
Copy link

eamodio commented Oct 21, 2016

Since I've updated to 1.1.1 I get this error: (1.1.0 was fine)

quill.js:2890 Uncaught TypeError: Cannot read property '0' of undefined(…)
fix_cursor @ quill.js:2890
diff_main @ quill.js:2531
Delta.diff @ quill.js:2397
(anonymous function) @ quill.js:3549update @ quill.js:3558
(anonymous function) @ quill.js:1702modify @ quill.js:2083
(anonymous function) @ quill.js:1701
emit @ quill.js:4913emit @ quill.js:4801
update @ quill.js:6043
(anonymous function) @ quill.js:1141

Steps for Reproduction

  1. Enter some text
  2. Hit backspace to delete the text
  3. Observe the error :)

Expected behavior:
No error

Actual behavior:
Error

Platforms:
macOS Sierra, Chrome Version 54.0.2840.71 (64-bit)

Version:
1.1.1

@benbro
Copy link
Contributor

benbro commented Oct 21, 2016

Caused by this PR:
jhchen/fast-diff#2

@jhchen jhchen closed this as completed in e384521 Oct 23, 2016
tim-mc pushed a commit to tim-mc/quill that referenced this issue Dec 12, 2016
tim-mc pushed a commit to tim-mc/quill that referenced this issue Dec 12, 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

2 participants