aboutsummaryrefslogtreecommitdiff
path: root/src/content/repositories/ClipboardRepository.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/repositories/ClipboardRepository.ts')
-rw-r--r--src/content/repositories/ClipboardRepository.ts2
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) {