feat: add post and comment translation

This commit is contained in:
Xylight committed 2024-06-05 14:13:43 -07:00
1 parent e7d12916c3
commit 990f073715
9 files changed
+156 -3

No files matched your search

@@ -97,7 +97,7 @@
loading = false
}
let previewing = false
export let previewing = false
const shortcuts = {
KeyB: () => wrapSelection('**', '**'),
@@ -174,7 +174,8 @@ overflow-hidden transition-colors"
>
{#if previewing}
<div
class="px-3 py-2.5 h-32 overflow-auto text-sm resize-y bg-white dark:bg-zinc-950"
class="px-3 py-2.5 overflow-auto text-sm resize-y bg-white dark:bg-zinc-950"
style="height: {rows * 2}em"
>
<Markdown source={beforePreview(value)} />
</div>