mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Break after first image [SCI-9588]
This commit is contained in:
parent
a4e48c798d
commit
c90aa8ee62
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue