From b952ad5200d324bff5f303a7a50d63625bbf94c7 Mon Sep 17 00:00:00 2001 From: gmarav05 Date: Tue, 24 Jun 2025 08:09:57 +0530 Subject: [PATCH 1/2] Replaced document.execCommand('copy') with navigator.clipboard.writeText(str) because it is deprecated. --- src/ts/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/utils.ts b/src/ts/utils.ts index 6705a344656e2..30fcb9a6cc360 100644 --- a/src/ts/utils.ts +++ b/src/ts/utils.ts @@ -53,7 +53,7 @@ function copyToClipboard(str: string): void { sel.addRange(oldSelection); } else { el.select(); // Select the