Skip to content

Commit 64a4ab2

Browse files
author
github-actions
committed
Add updated snippets
1 parent 1cc9184 commit 64a4ab2

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snippets/auto_gen/hubl_tags.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@
104104
"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.",
105105
"prefix": "~cycle"
106106
},
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+
},
107114
"do": {
108115
"body": [
109116
"{% do ${1:expr} %}"
@@ -127,9 +134,9 @@
127134
},
128135
"email_simple_subscription": {
129136
"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}\" %}"
137+
"{% 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}\" %}"
131138
],
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",
139+
"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",
133140
"prefix": "~email_simple_subscription"
134141
},
135142
"email_subscriptions": {
@@ -489,6 +496,13 @@
489496
"description": "Enqueue an inline script\nParameters:\n- position(String) ",
490497
"prefix": "~require_js"
491498
},
499+
"require_personalization_properties": {
500+
"body": [
501+
"{% require_personalization_properties contact_properties=\"${1:contact_properties}\" company_properties=\"${2:company_properties}\" %}"
502+
],
503+
"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",
504+
"prefix": "~require_personalization_properties"
505+
},
492506
"rich_text": {
493507
"body": [
494508
"{% rich_text html=\"${1:html}\" %}"

0 commit comments

Comments
 (0)