feat(F-064): completed feature

This commit is contained in:
chattie
2026-08-19 17:09:37 +02:00
parent c34241134f
commit a6d65310df
12 changed files with 194 additions and 16 deletions

View File

@@ -6,6 +6,7 @@ import { productsApi, brandsApi, categoriesApi } from '@/lib/api-client';
import { ImagesSection } from './sections/ImagesSection';
import { InventorySection } from './sections/InventorySection';
import { PricingSection } from './sections/PricingSection';
import LexicalEditor from '@/features/cms/components/LexicalEditor';
interface ProductEditorProps {
productId?: string;
@@ -237,9 +238,11 @@ export function ProductEditor({ productId }: ProductEditorProps) {
</div>
<div>
<label className="block text-sm font-semibold text-gray-900 mb-1.5">Descripción</label>
<textarea value={desc} onChange={e => setDesc(e.target.value)} rows={4}
placeholder="Descripción detallada del producto..."
className="w-full px-4 py-2.5 border border-gray-300 rounded-xl text-sm focus:ring-2 focus:ring-[#2D6A4F] outline-none resize-none" />
<LexicalEditor
value={desc}
onChange={(html) => setDesc(html)}
placeholder="Descripción detallada del producto…"
/>
</div>
<div className="grid grid-cols-1 sm:grid-cols-2 gap-5">
<div>

File diff suppressed because one or more lines are too long