@markopolo_ai_inc/markopolo-email-editor 1.0.65 → 1.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -75,6 +75,7 @@ export function TemplateEditor({ apiConfig = {} }) {
75
75
  | ------------------------- | ------------------------------------------------------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
76
76
  | `defaultBlockList` | `array` or `{ blockList, bodySettings, aiContentRefs }` | — | Initial template (see **Template shape** below). |
77
77
  | `defaultBodySettings` | `object` | from template / built-in | Global email body (width, colors, font, preheader). |
78
+ | `fillProductSlots` | `boolean` | `true` | Template-level product slot policy (also read from `defaultBlockList.fillProductSlots` when loading saved JSON). Exported at the top level of `exportJson()` / save payloads alongside `blockList`. When `true`, product blocks fill slots using cart → view → cross_sell → upsell → discount → popular; when `false`, only cart items fill slots (otherwise omitted at send). |
78
79
  | `aiContentRefs` | `object` | `{}` | Optional AI metadata map when loading saved templates. |
79
80
  | `templateData` | `object` | — | Live data for products, company, brand, placeholders (see **templateData**). |
80
81
  | `language` | `string` | `"en"` | UI language key. |