fix: pasting logseq shape issue

This commit is contained in:
Peng Xiao
2022-08-12 15:59:33 +08:00
parent a54614c866
commit f42b3c20f0

View File

@@ -241,7 +241,7 @@ export function usePaste(context: LogseqContextValue) {
return false
}
if (files) {
if (files && files.length > 0) {
await handleFiles(files)
} else {
for (const item of await navigator.clipboard.read()) {