From 5fb1a00a21172eaf2bb197278d20965f113bdd50 Mon Sep 17 00:00:00 2001 From: Martin Artnik <85488244+artoscinote@users.noreply.github.com> Date: Thu, 26 Oct 2023 14:58:27 +0200 Subject: [PATCH] Revert "Break after first image [SCI-9588]" --- app/javascript/vue/shared/content/attachments/mixins/paste.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/javascript/vue/shared/content/attachments/mixins/paste.js b/app/javascript/vue/shared/content/attachments/mixins/paste.js index 50c81d9eb..c324f1363 100644 --- a/app/javascript/vue/shared/content/attachments/mixins/paste.js +++ b/app/javascript/vue/shared/content/attachments/mixins/paste.js @@ -23,7 +23,6 @@ export default { for (let i = 0; i < e.clipboardData.items.length; i++) { if (e.clipboardData.items[i].type.indexOf('image') !== -1) { image = e.clipboardData.items[i]; - break; } } }