UI-Fixes: Konto-Dropdown togglt wieder (hidden), Editor-Button-Kontrast (weiße Schrift via Spezifität), datetime-Felder ohne Overlap (min-width:0), Block-Editor zeigt bestehenden Seiten-Body als Richtext-Block (kein Blindflug)
This commit is contained in:
@@ -23,7 +23,7 @@ const categories = [...new Set(products.map(p => p.category).filter(Boolean))];
|
||||
|
||||
const data = {
|
||||
pageId: page.id, slug: page.slug, title: page.title,
|
||||
blocks: page.blocks || [], blockTypes: BLOCK_TYPES,
|
||||
blocks: (Array.isArray(page.blocks) && page.blocks.length) ? page.blocks : (page.body && String(page.body).trim() ? [{ type: 'richtext', html: page.body }] : []), blockTypes: BLOCK_TYPES,
|
||||
products, featuredSlugs, slides, categories,
|
||||
saveUrl: '/api/admin-page-blocks', base,
|
||||
shopOrigin: '',
|
||||
|
||||
Reference in New Issue
Block a user