refactor: post editor

This commit is contained in:
codytseng 2025-05-23 22:47:31 +08:00
parent 3d06421acb
commit 78725d1e88
31 changed files with 1603 additions and 766 deletions

View file

@ -1,11 +0,0 @@
import { Card } from '@/components/ui/card'
import { createFakeEvent } from '@/lib/event'
import Content from '../Content'
export default function Preview({ content }: { content: string }) {
return (
<Card className="p-3 min-h-52">
<Content event={createFakeEvent({ content })} className="pointer-events-none h-full" />
</Card>
)
}