-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
JS error when marking text with mixed alignment in 1.0 #815
Comments
What application are you pasting from? I'm not able to reproduce. |
I'm pasting it from here. Also here's a recording of the steps that I'm taking: |
Maybe you can paste the delta to help reproducing the issue: console.log(JSON.stringify(quill.getContents())); |
Here the delta to reproduce it:
And here is the fix aa26d1d. |
Thanks for the video @crisbeto I was able to reproduce from that example. @jackmu95 Thanks for your suggested commit but the issue is the picker still needs to revert back the the default option. |
When marking two paragraphs with a mixed alignment (e.g. right and center), Quill throws an error.
Steps for Reproduction
Extra: I couldn't really paste over the text with the formatting to GitHub, but here's what the text looks like:
Platforms: Chrome 52 on Windows 10
Version: 1.0.0-beta.9
The text was updated successfully, but these errors were encountered: