Skip to content

Commit

Permalink
fix placeholder
Browse files Browse the repository at this point in the history
previous implementation worked because setContents was triggering an
noop text change event
  • Loading branch information
jhchen committed Oct 23, 2016
1 parent f64a8f2 commit 52e22d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/quill.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 52e22d0

Please sign in to comment.