From a8f79248676ffb19dcbd64dd0c527294cbd2dc30 Mon Sep 17 00:00:00 2001 From: Typer_Body Date: Sun, 25 Jan 2026 01:37:41 +0800 Subject: [PATCH] Append text area to body for selection --- web/src/app/home/plugins/page.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/app/home/plugins/page.tsx b/web/src/app/home/plugins/page.tsx index 77520050..e07617c3 100644 --- a/web/src/app/home/plugins/page.tsx +++ b/web/src/app/home/plugins/page.tsx @@ -417,6 +417,9 @@ export default function PluginConfigPage() { textArea.style.position = 'fixed'; textArea.style.left = '-999999px'; textArea.style.top = '-999999px'; + document.body.appendChild(textArea); + textArea.select(); + textArea.setSelectionRange(0, 99999); } };