Browse Source

chore: update comment discription of usePaste

pull/7207/head
Ramesh Mane 10 months ago
parent
commit
a5b0ab6826
  1. 2
      packages/nc-gui/composables/usePaste.ts

2
packages/nc-gui/composables/usePaste.ts

@ -16,7 +16,7 @@ export const usePaste = () => {
}
Object.defineProperty(pasteEvent, 'clipboardData', { value: clipboardData })
// Dispatch the event on the document or any other target element
// Dispatch the event on the document
document.dispatchEvent(pasteEvent)
return true
} catch (e) {

Loading…
Cancel
Save