From cfa49be141ec3edd01d524b5230c7405b47dfd69 Mon Sep 17 00:00:00 2001
From: HsiangNianian <i@jyunko.cn>
Date: Fri, 16 Jan 2026 15:30:19 +0800
Subject: chore: add dev dependency for prek in pyproject.toml and uv.lock

Included the 'prek' package as a development dependency in both pyproject.toml and uv.lock, specifying version 0.2.28 to enhance development capabilities.
---
 ui/src/components/ConfigEditorModal.svelte | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'ui/src/components/ConfigEditorModal.svelte')

diff --git a/ui/src/components/ConfigEditorModal.svelte b/ui/src/components/ConfigEditorModal.svelte
index 87a7d67..dd866ee 100644
--- a/ui/src/components/ConfigEditorModal.svelte
+++ b/ui/src/components/ConfigEditorModal.svelte
@@ -13,6 +13,12 @@
   let preRef: HTMLPreElement | undefined = $state();
   let lineNumbersRef: HTMLDivElement | undefined = $state();
 
+  // Textarea attributes that TypeScript doesn't recognize but are valid HTML
+  const textareaAttrs = {
+    autocorrect: "off",
+    autocapitalize: "off"
+  } as Record<string, string>;
+
   // History State
   let history = $state([settingsState.rawConfigContent]);
   let historyIndex = $state(0);
@@ -291,8 +297,7 @@
                 onclick={() => showSettings = false}
                 class="absolute inset-0 w-full h-full p-4 bg-transparent text-transparent caret-white font-mono text-sm leading-relaxed resize-none focus:outline-none whitespace-pre overflow-auto z-10 selection:bg-indigo-500/30"
                 spellcheck="false"
-                autocorrect="off"
-                autocapitalize="off"
+                {...textareaAttrs}
             ></textarea>
         </div>
     </div>
-- 
cgit v1.2.3-70-g09d2

