mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
1cac4ae55b
commit
8a9a8e4548
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
||||||
files = event.dataTransfer.items;
|
files = event.dataTransfer.items;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (event.localFiles.length > 0) {
|
if (event.localFiles?.length > 0) {
|
||||||
readLocalFile(protyle, event.localFiles);
|
readLocalFile(protyle, event.localFiles);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue