Skip to content

Commit

Permalink
fix initial load of content
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Apr 7, 2016
1 parent 03cafed commit bcb5409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/quill.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Quill {
this.keyboard = this.theme.addModule('keyboard');
this.clipboard = this.theme.addModule('clipboard');
this.undoManager = this.theme.addModule('undo-manager');
let contents = this.clipboard.convert(`<div class='ql-editor'>${html}</div>`);
let contents = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">${html}</div>`);
this.setContents(contents);
this.undoManager.clear();
if (options.readOnly) {
Expand Down

0 comments on commit bcb5409

Please sign in to comment.