Skip to content

Commit

Permalink
Release 0.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Erik Støwer committed Dec 23, 2015
1 parent d8930de commit 1beaa8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion dist/quill.js
Original file line number Diff line number Diff line change
Expand Up @@ -10593,7 +10593,14 @@ Quill = (function(superClass) {
ops: delta
};
}
return this.editor.applyDelta(delta, source);
this.editor.applyDelta(delta, source);
return this._sanitiseHtml();
};

Quill.prototype._sanitiseHtml = function() {
if (_.isFunction(this.options.sanitiseHtml)) {
return this.root.innerHTML = this.options.sanitiseHtml(this.root.innerHTML);
}
};

Quill.prototype._buildParams = function() {
Expand Down
Loading

0 comments on commit 1beaa8a

Please sign in to comment.