mirror of
https://github.com/logseq/logseq.git
synced 2026-05-30 07:29:48 +00:00
fix: pasting logseq shape issue
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user