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 authored and Tim McClure committed Dec 12, 2016
1 parent 86df11f commit 4f93d4c
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 4f93d4c

Please sign in to comment.