diff --git a/blots/scroll.js b/blots/scroll.js index 0efa3dfd21..25a9964bab 100644 --- a/blots/scroll.js +++ b/blots/scroll.js @@ -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; diff --git a/package.json b/package.json index 97eaed23a2..16b964f169 100644 --- a/package.json +++ b/package.json @@ -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": {