Skip to content

Commit

Permalink
fix: paste image on MD from context menu copy (fix #1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyuwoo.choi committed Dec 4, 2017
1 parent 2692308 commit f1e6dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/importManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class ImportManager {
const blobItems = cbData && cbData.items;
const {types} = cbData;

if (blobItems && types && types.length === 1 && util.inArray('Files', [].slice.call(types)) !== -1) {
if (blobItems && types && util.inArray('Files', [].slice.call(types)) !== -1) {
this._processBlobItems(blobItems, evData);
}
}
Expand Down

0 comments on commit f1e6dc3

Please sign in to comment.