feat: use new textarea

This commit is contained in:
Xyphyn committed 2023-09-03 18:46:43 -07:00
1 parent 721fa81fd6
commit 1f9bb5418d
11 files changed
+49 -99

No files matched your search

@@ -1,5 +1,4 @@
<script lang="ts">
import TextArea from '$lib/components/input/TextArea.svelte'
import Comment from '$lib/components/lemmy/comment/Comment.svelte'
import Post from '$lib/components/lemmy/post/Post.svelte'
import { toast } from '$lib/components/ui/toasts/toasts.js'
@@ -7,6 +6,7 @@
import type { CommentView, PostView } from 'lemmy-js-client'
import { profile } from '$lib/auth.js'
import { Button, Modal } from 'mono-svelte'
import MarkdownEditor from '$lib/components/markdown/MarkdownEditor.svelte'
export let open: boolean
export let item: PostView | CommentView | undefined = undefined
@@ -81,9 +81,9 @@
{/if}
</div>
{/if}
<TextArea
<MarkdownEditor
required
rows={3}
rows={4}
label="Reason"
placeholder="he's being a meanie :("
bind:value={reason}