Browse Source

chore: update comment discription of usePaste

pull/7173/head
Ramesh Mane 12 months ago
parent
commit
7a247986b3
  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