diff options
Diffstat (limited to 'src/content/repositories')
-rw-r--r-- | src/content/repositories/ClipboardRepository.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/repositories/ClipboardRepository.ts b/src/content/repositories/ClipboardRepository.ts index 20e7367..7459341 100644 --- a/src/content/repositories/ClipboardRepository.ts +++ b/src/content/repositories/ClipboardRepository.ts @@ -15,7 +15,7 @@ export class ClipboardRepositoryImpl { textarea.focus(); const ok = window.document.execCommand("paste"); - const value = textarea.textContent!; + const value = textarea.value; textarea.remove(); if (!ok) { |