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

Only query the last op's insertion string if it's actually an insert #1095

Merged
merged 1 commit into from
Nov 3, 2016

Conversation

jleen
Copy link
Contributor

@jleen jleen commented Nov 3, 2016

I came across this when attempting to use ShareDB to synchronize two Quill clients on a document that consists entirely of a CodeBlock. But the missing check looks pretty obvious. I think the old CoffeeScript implementation of Quill actually had this check.

@jhchen
Copy link
Member

jhchen commented Nov 3, 2016

Thanks!

@jhchen jhchen merged commit 2df224a into slab:develop Nov 3, 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

Successfully merging this pull request may close these issues.

2 participants