From 5470d41b4fa125f1d3d533aed243b7ab8211819e Mon Sep 17 00:00:00 2001 From: "kyuwoo.choi" Date: Tue, 18 Jul 2017 18:13:28 +0900 Subject: [PATCH] fix: pasting clipboard image to edge not working #974 --- apps/editor/src/js/importManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/editor/src/js/importManager.js b/apps/editor/src/js/importManager.js index 2b86316699..b7bedd1f9a 100644 --- a/apps/editor/src/js/importManager.js +++ b/apps/editor/src/js/importManager.js @@ -176,7 +176,7 @@ class ImportManager { const blobItems = cbData && cbData.items; const {types} = cbData; - if (blobItems && types && types.length === 1 && util.inArray('Files', types) !== -1) { + if (blobItems && types && types.length === 1 && util.inArray('Files', [].slice.call(types)) !== -1) { this._processBlobItems(blobItems, evData); } }