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:
2026-06-18 07:11:37 +00:00
parent fc2ad9e678
commit 3fe80e76dd
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -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: '',