Break after first image [SCI-9588]

This commit is contained in:
Anton 2023-10-26 14:33:44 +02:00
parent a4e48c798d
commit c90aa8ee62

View file

@ -23,6 +23,7 @@ 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;
}
}
}