aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/components
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-16 15:30:19 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-16 15:30:19 +0800
commitcfa49be141ec3edd01d524b5230c7405b47dfd69 (patch)
treebe28d9d2867955d71eab0c57ef127a96a5875dbf /ui/src/components
parent2b0576bdf575870f9e47fa7ab490411b7864b3be (diff)
downloadDropOut-cfa49be141ec3edd01d524b5230c7405b47dfd69.tar.gz
DropOut-cfa49be141ec3edd01d524b5230c7405b47dfd69.zip
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.
Diffstat (limited to 'ui/src/components')
-rw-r--r--ui/src/components/ConfigEditorModal.svelte9
1 files changed, 7 insertions, 2 deletions
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>