fix: commentform ctrl + enter doesnt work
This commit is contained in:
2 files changed
+13
-4
No files matched your search
@@ -75,7 +75,13 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="flex flex-col gap-2 relative">
|
||||
<form
|
||||
onsubmit={e => {
|
||||
e.preventDefault()
|
||||
submit()
|
||||
}}
|
||||
class="flex flex-col gap-2 relative"
|
||||
>
|
||||
{#if preview}
|
||||
<div
|
||||
class="bg-slate-100 dark:bg-zinc-900 px-3 py-2.5 h-64 border
|
||||
@@ -147,7 +153,7 @@
|
||||
/>
|
||||
</Button>
|
||||
<Button
|
||||
onclick={submit}
|
||||
submit
|
||||
color="primary"
|
||||
rounding="pill"
|
||||
size="custom"
|
||||
@@ -163,4 +169,4 @@
|
||||
{/if}
|
||||
</MarkdownEditor>
|
||||
{/if}
|
||||
</div>
|
||||
</form>
|
||||
Reference in new issue
Block a user