-
Notifications
You must be signed in to change notification settings - Fork 130
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
Cannot convert undefined or null to object #2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the update to Quill 1.1.2 (and specifically this commit)
I'm getting the following error:
It is because sometimes from our server the attributes on an insert object exists but is null or undefined.
It looks like a null/undefined check needs to be added here:
https://github.com/quilljs/delta/blob/master/lib/delta.js#L26
and here:
https://github.com/quilljs/delta/blob/master/lib/delta.js#L38
The text was updated successfully, but these errors were encountered: