From 58d5be70277dcb6fb0a0d7ca63d72c7b7c925a23 Mon Sep 17 00:00:00 2001 From: James Xylight Date: Wed, 25 Jun 2025 14:43:44 -0700 Subject: [PATCH] fix: commentform ctrl + enter doesnt work --- .gitignore | 5 ++++- src/lib/components/lemmy/comment/CommentForm.svelte | 12 +++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 8ae0cae8..212b8c14 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,7 @@ vite.config.ts.timestamp-* stats.html dev-dist yarn-error.log -yarn.lock \ No newline at end of file +yarn.lock + +playwright-report +test-results \ No newline at end of file diff --git a/src/lib/components/lemmy/comment/CommentForm.svelte b/src/lib/components/lemmy/comment/CommentForm.svelte index 608c5f0d..37ef8cf0 100644 --- a/src/lib/components/lemmy/comment/CommentForm.svelte +++ b/src/lib/components/lemmy/comment/CommentForm.svelte @@ -75,7 +75,13 @@ } -
+
{ + e.preventDefault() + submit() + }} + class="flex flex-col gap-2 relative" +> {#if preview}
{/if} -
+