'use client' import { Button } from '@admin/components/ui/button' import { getContentEditorPreviewText } from '@admin/utils/editor/get-content-editor-preview-text' import { Maximize2 } from 'lucide-react' // The phone form shows a rich-text field as a preview card (Paper `Posts / New / Mobile`, // `FormItem ยท content (Focus preview)`); tapping it opens the full-screen focus view. export function ContentEditorPreview({ label, value, placeholder, disabled, onOpen }: { label: string value: string placeholder?: string disabled: boolean onOpen: () => void }) { const preview = getContentEditorPreviewText(value) return (