editor
Ez az oldal még csak angolul érhető el.
The customizer canvas: whether the page is being edited, and preview scenarios.
Ezen az oldalon
import { … } from '@poltura/theme-sdk/editor';
| Name | What it is |
|---|
useIsEditing | Whether the page is drawn inside the customizer canvas. |
usePreviewScenario | The choice the customizer's Data picker made for a preview domain. |
| Name | What it is |
|---|
SectionDropArea | The editor's drop area for a section with no elements yet, where the merchant adds the first one; nothing outside the editor. |
| Name | What it is |
|---|
definePreviewScenarios | Declares the theme's own preview scenarios; default-export the result from src/preview-scenarios.ts. |
Utoljára frissítve