Saving blocks and layouts in the WYSIWYG editor

Save blocks and layouts for reuse in your messages, templates, and preference center web pages.

Saving blocks

Saved blocks are an easy way to create footer or nav bars for emails that you can reuse across templates. You can include a SnippetA reusable piece of content that you can define in Airship for later use in your messages and templates. Snippets support text or HTML content and can be used for commonly used elements such as a copyright, header image, or custom CSS. for information like the copyright date. Update the snippet once a year, and that change will be applied to anywhere the snippet is in use. You can save up to 50 blocks.

In the WYSIWYG editor:

  1. Open an existing or blank layout, then edit.
  2. Select the row you want to save for reuse, then click the Save icon.
  3. Enter identifying information for the block. Both IDs are used for searching for saved blocks.
    • Category — Saved blocks are grouped by category name. You can use this field to assign a unique name to each block if you do not want to organize your blocks by category.
    • Tags — Optional. Separate multiple tags with commas.
  4. Click Save.

Inserting saved blocks

In the WYSIWYG editor:

  1. Open an existing or blank layout, then edit.
  2. Select Blocks in the sidebar.
    • Your last saved block is listed first, followed by blank rows, then categories in alphanumeric order.
    • Search — Enter a category or tag in the search field.
    • Filter — Click All > next to a category to display only the blocks in that category.
  3. Drag a saved block into your layout.

If you edit a block’s content after adding it to your layout, the changes will apply to that layout only.

Managing saved blocks

You must edit or create a message, template, or preference center web page to access the WYSIWYG editor, then you can manage your saved blocks.

In the WYSIWYG editor:

  1. Open an existing or blank layout, then edit.
  2. Select Blocks in the sidebar.
    • Edit category and tags — Hover over a saved block and click the three dots icon (), then make your changes and click Save.
    • Edit content — You cannot edit the content of a saved block. Instead, drag the block into a layout, make changes, and save it as a new block. You can then delete the previous version, if needed.
    • Delete — Hover over a saved block and click the three dots icon (), then click Delete.

Saving layouts

You can save up to 20 of each layout type: email, Rich PageA landing page or Message Center message in your app that can include HTML, video, etc., In-App AutomationMessages cached on users’ devices and displayed when users meet certain conditions within your app, such as viewing a particular screen or opening the app a certain number of times., Email Preference CenterA page where users can manage their opt-in statuses for the Subscription Lists in your project. Preference Centers are presented within your app or website or as an Airship-hosted web page..

In the WYSIWYG editor:

  1. Open an existing or blank layout, then edit.
  2. Click Save layout.
  3. Enter a name and thumbnail image that will appear on the card for the saved layout. The image is optional, and you cannot change the name later. Enter an HTTPS URL for the image. See: Media guidelines.

    If your Airship plan includes CDN support, you can also upload an image or select from previous uploads.
    1. Click Upload Image.
      1. Select Choose file and select a file to upload or select from previous uploads.
        • The default sort order is most recent upload first.
        • You can search by file name or keyword.
        • A file preview appears after upload or selection. Select the play icon () to preview audio and video files.
      2. (Optional) Add or edit keywords for the file to help organize your uploads.
        • Enter a term in the search field below the preview and select from results, or select Add keyword: [term].
        • Select the clear icon () to remove a keyword.
      3. Select Insert selected media.

      See also Media library. Contact Support if you are interested in enabling CDN media hosting.

    2. Click Save.
    3. Click Done to leave the WYSIWYG editor.

    Now you can complete creating your message, template, or web page. The next time you return to the WYSIWYG editor, your saved layout will be available to select.

    Managing saved layouts

    You must edit or create a message, template, or preference center web page to access the WYSIWYG editor, then you can manage your saved layouts.

    • Edit — You cannot directly edit a saved layout. Instead, select the layout, make changes, and save it as a new layout. You can then delete the previous version, if needed.
    • Delete — Hover over a saved layout and click Delete layout. You cannot delete Airship default layouts.