docs: lit-divi-catalog shows both result shapes (trial)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01At3V6SjwbMe6eMzVGW3Hs7
This commit is contained in:
2026-09-26 19:23:47 +02:00
co-authored by Claude Opus 5.5
parent db40f4efa7
commit 0531a5ffb1
3 changed files with 19 additions and 1 deletions
+4
View File
@@ -53,6 +53,10 @@ mit eigenen HTML-/Attribut-Feldern beim Speichern – nur wenn die Seite noch ni
`linkUrl`) ist der Eintrag stattdessen eine Zuordnung Unterfeld → Feldart (`{"text": "text", "linkUrl":
"url"}`), soweit für die einzelnen Unterfelder ableitbar; fehlende Pfade oder Unterfelder gelten als
unbekannt, statt eine Feldart zu raten.
- Ergebnisform ohne `module`: `{"modules": [{"name": "divi/heading", "title": "Heading", "category": "module",
"children": [], "shortform": true}, …], "notes": […]}`; mit `module`: `{"module": {"name": "divi/heading",
"title": …, "children": […], "item_type": null, "shortform": {"text": {"path": "title.innerContent", …}},
"paths": […], "path_kinds": {…}}, "notes": […]}`.
- `lit-divi-node-get` zeigt die gesetzten Werte eines vorhandenen Knotens in genau dieser Form (`attrs`).
- Schrift-Gruppen liegen eine Ebene tiefer: `…decoration.font.font`, `…decoration.bodyFont.body.font`,
`…decoration.headingFont.h2.font`, `module.advanced.text.text`.