|
104 | 104 | "description": "The cycle tag can be used within a for loop to cycle through a series of string values and print them with each iteration\nParameters:\n- string_to_print(String) A comma separated list of strings to print with each interation. The list will repeat if there are more iterations than string parameter values.", |
105 | 105 | "prefix": "~cycle" |
106 | 106 | }, |
| 107 | + "dnd_grid_area": { |
| 108 | + "body": [ |
| 109 | + "{% dnd_grid_area name=\"${1:name}\" label=\"${2:label}\" %}\n{% end_dnd_grid_area %}" |
| 110 | + ], |
| 111 | + "description": "Creates container that supports grids based drag-and-drop in content editors.\nParameters:\n- name(string) Identifier when storing data for a grid based drag-and-drop area in the editors. Must be unique for all grid based drag-and-drop areas in a template.\n- label(string) Label used in the editor for the grid based drag-and-drop area.", |
| 112 | + "prefix": "~dnd_grid_area" |
| 113 | + }, |
| 114 | + "dnd_grid_container": { |
| 115 | + "body": [ |
| 116 | + "{% dnd_grid_container label=\"${1:label}\" type=\"${2:type}\" is_hidden=\"${3:is_hidden}\" padding=\"${4:padding}\" margin=\"${5:margin}\" background_layers=\"${6:background_layers}\" justify_content=\"${7:justify_content}\" align_content=\"${8:align_content}\" justify_items=\"${9:justify_items}\" align_items=\"${10:align_items}\" gap=\"${11:gap}\" grid_spanning=\"${12:grid_spanning}\" grid_position=\"${13:grid_position}\" width=\"${14:width}\" flex_grow=\"${15:flex_grow}\" rows=\"${16:rows}\" columns=\"${17:columns}\" %}\n{% end_dnd_grid_container %}" |
| 117 | + ], |
| 118 | + "description": "Creates a container inside a grids-based drag-and-drop area.\nParameters:\n- label(string) Label used in the editor for the drag-and-drop container.\n- type(dict) The type of the container layout.\n- is_hidden(dict) Denotes if the container is hidden.\n- padding(dict) The padding applied to the container.\n- margin(dict) The margin applied to the container.\n- background_layers(dict) A list of backgrounds in order from top to bottom.\n- justify_content(dict) Justification of child content.\n- align_content(dict) Alignment of child content.\n- justify_items(dict) Justification of content within child items.\n- align_items(dict) Alignment of content within child items.\n- gap(dict) The gap between each item in the container.\n- grid_spanning(dict) Spanning properties for the grid table relative to its parent.\n- grid_position(dict) Position property for the grid table relative to its parent.\n- width(dict) Initial size of the flex item based on the main axis of the container.\n- flex_grow(dict) Sets the flex grow factor of the flex item.\n- rows(dict) Definition for the rows.\n- columns(dict) Definition for the columns.", |
| 119 | + "prefix": "~dnd_grid_container" |
| 120 | + }, |
| 121 | + "dnd_grid_module": { |
| 122 | + "body": [ |
| 123 | + "{% dnd_grid_module label=\"${1:label}\" is_hidden=\"${2:is_hidden}\" width=\"${3:width}\" flex_grow=\"${4:flex_grow}\" grid_position=\"${5:grid_position}\" grid_spanning=\"${6:grid_spanning}\" style_fields=\"${7:style_fields}\" %}\n{% end_dnd_grid_module %}" |
| 124 | + ], |
| 125 | + "description": "Creates a wrapped module inside a grids-based drag-and-drop area.\nParameters:\n- label(string) Label used in the editor for the drag-and-drop module.\n- is_hidden(dict) Denotes if the module is hidden.\n- width(dict) Initial size of the flex item based on the main axis of the container.\n- flex_grow(dict) Sets the flex grow factor of the flex item.\n- grid_position(dict) Position property for the grid table relative to its parent.\n- grid_spanning(dict) Spanning properties for the grid table relative to its parent.\n- style_fields(dict) Custom style field values at breakpoints defined by the developer.", |
| 126 | + "prefix": "~dnd_grid_module" |
| 127 | + }, |
| 128 | + "dnd_grid_section": { |
| 129 | + "body": [ |
| 130 | + "{% dnd_grid_section content_width=\"${1:content_width}\" padding=\"${2:padding}\" margin=\"${3:margin}\" background_layers=\"${4:background_layers}\" is_hidden=\"${5:is_hidden}\" %}\n{% end_dnd_grid_section %}" |
| 131 | + ], |
| 132 | + "description": "A top-level element inside a drag-and-drop area of grid type. Grid sections can only be children of a drag-and-drop area tag in grids flow.\nParameters:\n- content_width(dict) Maximum width of the section.\n- padding(dict) Add top, bottom, left, and right padding.\n- margin(dict) Add top, bottom, left, and right margin.\n- background_layers(dict) Add background layers to the section.\n- is_hidden(dict) Denotes if the section is hidden in the editor.", |
| 133 | + "prefix": "~dnd_grid_section" |
| 134 | + }, |
107 | 135 | "do": { |
108 | 136 | "body": [ |
109 | 137 | "{% do ${1:expr} %}" |
|
127 | 155 | }, |
128 | 156 | "email_simple_subscription": { |
129 | 157 | "body": [ |
130 | | - "{% email_simple_subscription header=\"${1:header}\" subheader=\"${2:subheader}\" header_heading_level=\"${3:header_heading_level}\" subheader_heading_level=\"${4:subheader_heading_level}\" input_help_text=\"${5:input_help_text}\" button_text=\"${6:button_text}\" input_placeholder=\"${7:input_placeholder}\" error_info_text=\"${8:error_info_text}\" %}" |
| 158 | + "{% email_simple_subscription header=\"${1:header}\" subheader=\"${2:subheader}\" header_heading_level=\"${3:header_heading_level}\" subheader_heading_level=\"${4:subheader_heading_level}\" error_info_text=\"${5:error_info_text}\" %}" |
131 | 159 | ], |
132 | | - "description": "Simple email unsubscribe form\nParameters:\n- header(String) Renders text in an h1 tag above the unsubscribe form\n- subheader(String) Renders text in an h2 tag above the unsubscribe form below the h1\n- header_heading_level(String) Defines the heading level of the header\n- subheader_heading_level(String) Defines the heading level of the subheader\n- input_help_text(String) Renders help text in an h3 tag above your email unsubscribe form field\n- button_text(String) Changes the text of the unsubscribe form submit button\n- input_placeholder(String) Adds placeholder text within the email address form field\n- error_info_text(String) Renders error text in an h3 tag", |
| 160 | + "description": "Simple email unsubscribe form\nParameters:\n- header(String) Renders text in an h1 tag above the unsubscribe form\n- subheader(String) Renders text in an h2 tag above the unsubscribe form below the h1\n- header_heading_level(String) Defines the heading level of the header\n- subheader_heading_level(String) Defines the heading level of the subheader\n- error_info_text(String) Renders error text in an h3 tag", |
133 | 161 | "prefix": "~email_simple_subscription" |
134 | 162 | }, |
135 | 163 | "email_subscriptions": { |
136 | 164 | "body": [ |
137 | | - "{% email_subscriptions header=\"${1:header}\" subheader_text=\"${2:subheader_text}\" header_heading_level=\"${3:header_heading_level}\" email_heading_level=\"${4:email_heading_level}\" language_select_label_text=\"${5:language_select_label_text}\" unsubscribe_single_text=\"${6:unsubscribe_single_text}\" unsubscribe_all_text=\"${7:unsubscribe_all_text}\" unsubscribe_all_unsubbed_text=\"${8:unsubscribe_all_unsubbed_text}\" unsubscribe_all_option=\"${9:unsubscribe_all_option}\" button_text=\"${10:button_text}\" %}" |
| 165 | + "{% email_subscriptions header=\"${1:header}\" subheader_text=\"${2:subheader_text}\" header_heading_level=\"${3:header_heading_level}\" email_heading_level=\"${4:email_heading_level}\" language_select_label_text=\"${5:language_select_label_text}\" unsubscribe_single_text=\"${6:unsubscribe_single_text}\" unsubscribe_all_text=\"${7:unsubscribe_all_text}\" unsubscribe_all_unsubbed_text=\"${8:unsubscribe_all_unsubbed_text}\" unsubscribe_all_option=\"${9:unsubscribe_all_option}\" button_text=\"${10:button_text}\" single_subscription_confirm_text=\"${11:single_subscription_confirm_text}\" single_subscription_button_text=\"${12:single_subscription_button_text}\" %}" |
138 | 166 | ], |
139 | | - "description": "Email subscription preferences form\nParameters:\n- header(String) Renders text in an h1 tag above the subscription preferences form\n- subheader_text(String) Populates text below the heading above the unsubscribe preferences\n- header_heading_level(String) Defines the heading level of the header\n- email_heading_level(String) Defines the heading level of the subheader\n- language_select_label_text(String) Provides the label for the language select label element\n- unsubscribe_single_text(String) Renders text in a <p class=\"header\"> above the subscription options\n- unsubscribe_all_text(String) Renders text in a <p class=\"header\"> above the unsubscribe from all emails checkbox input\n- unsubscribe_all_unsubbed_text(String) Populates text within a <p> that renders, if a contact is currently unsubscribed from all emails\n- unsubscribe_all_option(String) Sets the text next to the unsubscribe from all emails checkbox input\n- button_text(String) Sets the text of the submit button that updates subscription preferences", |
| 167 | + "description": "Email subscription preferences form\nParameters:\n- header(String) Renders text in an h1 tag above the subscription preferences form\n- subheader_text(String) Populates text below the heading above the unsubscribe preferences\n- header_heading_level(String) Defines the heading level of the header\n- email_heading_level(String) Defines the heading level of the subheader\n- language_select_label_text(String) Provides the label for the language select label element\n- unsubscribe_single_text(String) Renders text in a <p class=\"header\"> above the subscription options\n- unsubscribe_all_text(String) Renders text in a <p class=\"header\"> above the unsubscribe from all emails checkbox input\n- unsubscribe_all_unsubbed_text(String) Populates text within a <p> that renders, if a contact is currently unsubscribed from all emails\n- unsubscribe_all_option(String) Sets the text next to the unsubscribe from all emails checkbox input\n- button_text(String) Sets the text of the submit button that updates subscription preferences\n- single_subscription_confirm_text(String) Confirmation text displayed in single subscription mode\n- single_subscription_button_text(String) Button text for single subscription unsubscribe action", |
140 | 168 | "prefix": "~email_subscriptions" |
141 | 169 | }, |
142 | 170 | "email_subscriptions_confirmation": { |
143 | 171 | "body": [ |
144 | | - "{% email_subscriptions_confirmation header=\"${1:header}\" subheader_text=\"${2:subheader_text}\" header_heading_level=\"${3:header_heading_level}\" email_heading_level=\"${4:email_heading_level}\" unsubscribe_all_success=\"${5:unsubscribe_all_success}\" subscription_update_success=\"${6:subscription_update_success}\" manage_preferences_button=\"${7:manage_preferences_button}\" manage_preferences_return_disclaimer=\"${8:manage_preferences_return_disclaimer}\" %}" |
| 172 | + "{% email_subscriptions_confirmation header=\"${1:header}\" subheader_text=\"${2:subheader_text}\" header_heading_level=\"${3:header_heading_level}\" email_heading_level=\"${4:email_heading_level}\" unsubscribe_all_success=\"${5:unsubscribe_all_success}\" subscription_update_success=\"${6:subscription_update_success}\" manage_preferences_button=\"${7:manage_preferences_button}\" manage_preferences_return_disclaimer=\"${8:manage_preferences_return_disclaimer}\" single_subscription_unsubscribe_success=\"${9:single_subscription_unsubscribe_success}\" subscription_placeholder_text=\"${10:subscription_placeholder_text}\" %}" |
145 | 173 | ], |
146 | | - "description": "Email unsubscribe form\nParameters:\n- header(String) Renders text in an h1 tag above the unsubscribe form\n- subheader_text(String) Populates text above the confirmation message\n- header_heading_level(String) Defines the heading level of the header\n- email_heading_level(String) Defines the heading level of the subheader\n- unsubscribe_all_success(String) Sets the text that will display when someone unsubscribes from all email communications\n- subscription_update_success(String) Sets the text when a recipient updates his or her subscription preferences\n- manage_preferences_button(String) Button label for the return to preferences page button\n- manage_preferences_return_disclaimer(String) Populates the text above the return to preferences button", |
| 174 | + "description": "Email unsubscribe form\nParameters:\n- header(String) Renders text in an h1 tag above the unsubscribe form\n- subheader_text(String) Populates text above the confirmation message\n- header_heading_level(String) Defines the heading level of the header\n- email_heading_level(String) Defines the heading level of the subheader\n- unsubscribe_all_success(String) Sets the text that will display when someone unsubscribes from all email communications\n- subscription_update_success(String) Sets the text when a recipient updates his or her subscription preferences\n- manage_preferences_button(String) Button label for the return to preferences page button\n- manage_preferences_return_disclaimer(String) Populates the text above the return to preferences button\n- single_subscription_unsubscribe_success(String) Sets the text that will display when someone unsubscribes from a single subscription\n- subscription_placeholder_text(String) Sets the placeholder text for the subscription name", |
147 | 175 | "prefix": "~email_subscriptions_confirmation" |
148 | 176 | }, |
149 | 177 | "extends": { |
|
489 | 517 | "description": "Enqueue an inline script\nParameters:\n- position(String) ", |
490 | 518 | "prefix": "~require_js" |
491 | 519 | }, |
| 520 | + "require_personalization_properties": { |
| 521 | + "body": [ |
| 522 | + "{% require_personalization_properties contact_properties=\"${1:contact_properties}\" company_properties=\"${2:company_properties}\" %}" |
| 523 | + ], |
| 524 | + "description": "Includes a personalization API URL script in the page footer\nParameters:\n- contact_properties(list) List of contact property names to include in the personalization API URL\n- company_properties(list) List of company property names to include in the personalization API URL", |
| 525 | + "prefix": "~require_personalization_properties" |
| 526 | + }, |
492 | 527 | "rich_text": { |
493 | 528 | "body": [ |
494 | 529 | "{% rich_text html=\"${1:html}\" %}" |
|
0 commit comments