Skip to content

Commit

Permalink
fix #1649
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Aug 27, 2017
1 parent c7a05cb commit 8924db2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ BaseTheme.DEFAULTS = extend(true, {}, Theme.DEFAULTS, {
.delete(range.length)
.insert({ image: e.target.result })
, Emitter.sources.USER);
this.quill.setSelection(range.index + 1, Emitter.sources.SILENT);
fileInput.value = "";
}
reader.readAsDataURL(fileInput.files[0]);
Expand Down

0 comments on commit 8924db2

Please sign in to comment.