Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
block [2014/12/20 11:41]
127.0.0.1 external edit
block [2016/06/01 11:01]
ben
Line 1: Line 1:
 ====== Block ====== ====== Block ======
  
-A block is a designed HTML element of your email, for example a story, a header, a footer, etc. Blocks are stored in a [[templates|template'​s]] [[block-library|Block Library]], and, when in the [[editor|Editor'​s]] [[editor#​layout-mode|Layout Mode]], can be dropped into the [[section|Sections]] of your email to achieve different layouts without requiring a new templates.+A block is a designed HTML element of your email, for example a story, a header, a footer, etc. Blocks are stored in a [[templates|template'​s]] [[block-library|Block Library]], and, when in the [[editor|Editor'​s]] [[editor#​layout-mode|Layout Mode]], can be dropped into the [[section|Sections]] of your email to achieve different layouts without requiring a new template.
  
 The editable areas of a block are called [[slot|slots]];​ these are the areas that you can click on in the Editor'​s [[content-mode|Content Mode]] to change the text or images. Blocks can only appear inside [[section|sections]]. The editable areas of a block are called [[slot|slots]];​ these are the areas that you can click on in the Editor'​s [[content-mode|Content Mode]] to change the text or images. Blocks can only appear inside [[section|sections]].
Line 29: Line 29:
 ^ Property ^ Required ^ Values ^ Description ^    ​ ^ Property ^ Required ^ Values ^ Description ^    ​
 | Name     | No | Text | Displayed in the Block Library to help users identify the block. | | Name     | No | Text | Displayed in the Block Library to help users identify the block. |
-| Width    | No | Number | If used, this block will only be shown by default if its Width (declared in pixels with no units) is equal to or less than than a section'​s ​MaxWidth ​property. Users can still use this block if they adjust the Block Library'​s filtering options. This property is useful to prevent users from using blocks that are too wide for sections and could break a template'​s layout. |+| Width    | No | Number | If used, this block will only be shown by default if its Width (declared in pixels with no units) is equal to or less than than a section'​s ​Width property. Users can still use this block if they adjust the Block Library'​s filtering options. This property is useful to prevent users from using blocks that are too wide for sections and could break a template'​s layout. |
 | LibraryOnly | No | True/False | Blocks which have this property to set to true will be added to the template'​s block library but not shown in the default layout. This is useful when you create a template with many blocks to save users needing to delete unneeded ones each time they create a new email. | | LibraryOnly | No | True/False | Blocks which have this property to set to true will be added to the template'​s block library but not shown in the default layout. This is useful when you create a template with many blocks to save users needing to delete unneeded ones each time they create a new email. |