From 52e22d0e05c750d881eb93f824d9d81a64389572 Mon Sep 17 00:00:00 2001 From: Jason Chen Date: Sun, 23 Oct 2016 13:57:00 -0700 Subject: [PATCH] fix placeholder previous implementation worked because setContents was triggering an noop text change event --- core/quill.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/quill.js b/core/quill.js index 47716d116f..173313123f 100644 --- a/core/quill.js +++ b/core/quill.js @@ -63,6 +63,7 @@ class Quill { this.container.classList.add('ql-container'); this.container.innerHTML = ''; this.root = this.addContainer('ql-editor'); + this.root.classList.add('ql-blank'); this.emitter = new Emitter(); this.scroll = Parchment.create(this.root, { emitter: this.emitter,