Skip to content

Commit

Permalink
fix pasting multiline into container
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Apr 17, 2018
1 parent 76f86f7 commit aa487d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions blots/scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ class Scroll extends Parchment.Scroll {
return super.path(index).slice(1); // Exclude self
}

remove() {
// Never remove self
}

update(mutations) {
if (this.batch === true) return;
let source = Emitter.sources.USER;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"deep-equal": "^1.0.1",
"eventemitter3": "^3.0.0",
"extend": "^3.0.1",
"parchment": "quilljs/parchment#4f71833cddb4ca0d1a8afbba5c23b5ba0f2252c5",
"parchment": "quilljs/parchment#04bef4db3a553799fed4189691b0f5af86b28a31",
"quill-delta": "^3.6.2"
},
"devDependencies": {
Expand Down

0 comments on commit aa487d7

Please sign in to comment.