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

Error on redoing new line/paragraph #767

Closed
mshamaiev-intel471 opened this issue Jun 23, 2016 · 2 comments
Closed

Error on redoing new line/paragraph #767

mshamaiev-intel471 opened this issue Jun 23, 2016 · 2 comments

Comments

@mshamaiev-intel471
Copy link

Error when trying to redo new line/paragraph
quill.js:5216 Uncaught TypeError: leaf.position is not a function

Steps for Reproduction

  1. Visit beta.quilljs.com
  2. Hit Enter
  3. Hit undo Cmd+Z
  4. Hit redo Cmd+Shift+Z

Expected behavior: correct redoing of new line

Actual behavior: no new line and error in console

Platforms: Firefox 47, Firefox 49a and Chrome 51 on OS X 10.11.5

Version: 1.0.0-beta.6

@benbro
Copy link
Contributor

benbro commented Jun 24, 2016

Related?
#740

@jhchen
Copy link
Member

jhchen commented Jun 27, 2016

The two have different stack traces but it's likely the it is same root cause of being in an invalid state. The referenced commit fixes this one's for sure, given the reproduction steps.

@jhchen jhchen closed this as completed in 3b2167f Jun 27, 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

3 participants