Skip to main content

Email editor blocks

Every block you can add to an email in Spoks, how to pick it, and the settings you can change on each block.

Written by Alva Dahl

Emails in Spoks are built from blocks. This article lists every block in the email editor, how you set each one up, and the settings you can change afterwards. For an overview of the editor itself, see How does the email editor work?

Adding, moving and removing blocks

Click a block in your email to select it. Its name shows at its top left, and a small toolbar appears at its top right:

  • The drag handle moves the block. Click it without dragging to change the block into another type.

  • The copy icon duplicates the block.

  • The trash icon deletes the block.

To add a block, open Add content with the + on the top left corner of the editor, click New block at the bottom left, or rest the pointer on the top or bottom edge of a block and click + Add block. You can also type / on an empty line.

The selected block's settings open in the panel on the left. The block's own settings come first, then Style (typography, colors, shape and border) and Layout (alignment, width and spacing). These change that one block only. Click Reset at the end of Layout to go back to the email's style. Your draft saves automatically as you work.

A selected button with its name tag, toolbar and settings panel

Space between blocks

Spacing is under Layout in the block's settings. Margin is the space outside the block, between it and the blocks around it. Padding is the space inside a container or section, between its edge and its content.

Each has two fields: top and bottom, and left and right. Click the button beside them to set each side separately. An empty field shows the email's default in grey. Type 0 to close the gap on that side.

If a gap is still there after the margins are 0, check the padding of the container the block sits in, or Layout in Email styles, which sets the defaults for the whole email. Images in a container or column keep their own margins too. For a row of logos with white gaps, select each image and set its margins to 0. If the same gap shows in every email, change it under Layout in Settings → Look, which sets the defaults for all your emails.

By default an image has 8 px of margin below it, and 8 px above it when it isn't the first block in its column. With Stack on mobile on, columns stack on phones with a fixed 12 px gap that Column spacing doesn't change. To keep images side by side on phones, turn off Stack on mobile on the Columns block.

In the editor, thin lines show where each block and section ends. They aren't part of the email. To see the email as your recipients will, click Preview on the Review screen.

Common tasks

Change the color behind a block. Most blocks have no background color of their own. A Button's Button color only fills the button. To color the area behind blocks, select them and click Group into section, or add a Section from Layout. Then select the section and set its Background color under Style.

Make an image smaller or larger. Select the image and change Max width under Layout.

Turn an image into a link. Select the image and fill in Add URL in the panel. In an Abandoned Cart or Abandoned Checkout flow email, an image can also link to each shopper's own cart or checkout: select the image and turn on Cart URL in the panel. Spoks fills in the link when the email is sent, so you can add a return-to-cart image without showing the products.

Put a button between two paragraphs. A Text block holds all the paragraphs you type in it, so a new button goes above or below the whole block. Select the text block and add a Button from Add content. It is added below the selected block. Then add a Text block below the button and move the rest of your text into it.

Center content inside Columns. The Alignment setting on a Columns block (Top, Center, Bottom) is vertical: it lines the columns up against each other. To center content left to right, align the content inside each column: use the alignment button in the text toolbar, or the Alignment setting of an image or button.

Reuse blocks in another email. Select the blocks and copy them (Ctrl+C, or Cmd+C on a Mac). Open the other email, select the block to paste below, and paste (Ctrl+V or Cmd+V). To keep the same content in many emails, save it as a component. See Components.

The blocks

Add content has two tabs. Blocks groups the blocks into four sections, with a search box at the top. Components lists your saved components.

  • Text: Text, Header, Subheader, Quote.

  • Elements: Image, Video, Button, Divider, Social icons, Form, Poll, HTML.

  • Commerce: Products, Coupons.

  • Layout: Columns, Section.

The Add content panel

Text, Header, Subheader and Quote

These four are the same text block in different styles. Click into the text and a toolbar appears above it with:

  • A style menu to switch between Header, Subheader, Normal text and Quote.

  • Font size, picked from a list of preset sizes: 8, 10, 12, 14, 16, 18, 20, 24, 32, 36 and 48. You can't type in a size of your own.

  • Bold, Italic and Underline.

  • A link and a bulleted list.

  • Personalization ({ }), which inserts a field filled in for each contact, such as their first name.

  • Emoji.

  • Alignment.

The block's settings in the panel are Text color under Style, and Max width and Margin under Layout. Without a color of its own, a heading uses the email's Title text color, and other text uses Text.

Image

A new Image block shows Add image. Drag an image onto it, or select the block and click Add image in the panel. Select image opens with your image library: search it, pick an image and click Done, or click + Upload image. Animated GIFs are supported.

The Select image window

The panel also has Description, Image alt text and Add URL, which turns the image into a link. Under Style is Corner radius, and under Layout are Alignment, Max width and Margin.

To crop an image, select it and click Edit under Media in the panel. In the image editor, choose Crop/ Rotate, then Ratio, and pick 1*1 for a square crop.

Video

Paste a YouTube link, or upload a video file. Use the video's regular link, one with watch?v= in it or a youtu.be link. YouTube Shorts links, with /shorts/ in them, aren't accepted. To use a Short, copy the code after /shorts/ and paste youtube.com/watch?v= followed by that code.

In the editor, a vertical video sits in a wider frame, and the empty space on each side is filled with a blurred, enlarged copy of the video. A background color or background image doesn't change that. To remove it, crop the video to a square or landscape shape and click Replace video in the block's panel to upload the new version.

Button

Select the button and fill in its Text and Link in the panel. The { } icon in the link field adds personalization to the link.

In an email in an Abandoned Checkout flow, to send each shopper to their own checkout, click { } in the Link field and choose Checkout Link. The SMS abandoned checkout link doesn't work in an email button.

Under Style are Font size, bold and italic Style, Font, Text color, Button color, Corner radius, Thickness of the border and Border color. Under Layout are its alignment, width and spacing.

A Button block has no background setting for the area around the button. To change that color, put the button in a Section and set the Section's Background color.

Social icons

Adds your social media icons, the same set as your footer.

Form and Poll

Pick one of your forms or polls, or build a new one. In the email, the form or poll appears as a button with its title. Both have the same settings as a Button block.

Divider

A Divider adds a horizontal line. Its settings are Margin, Width, Thickness, Style (solid, dashed or dotted) and Color.

HTML

The HTML block adds your own HTML code to the email, such as a design from a developer or a section copied from another email platform. Click HTML, replace the example paragraph in the code editor with your code, and click Insert. HTML blocks can only be added and edited in Spoks on a computer. For what the block supports and how it looks in different email clients, see Using your own HTML in emails.

Coupons

Pick one of your coupons and, if you like, a link that applies it. For a Shopify store, use the Shopify discount link, which applies the code at checkout: select the block, copy the link shown under Shopify discount link and paste it into the Link field just above it. Select the block to change its settings: Corner radius, Top margin, Bottom margin, Full width, Horizontal margin, Border style, Thickness, Font size, bold and italic Style, Font, Text color, Background color and Border color.

Products block

The Products block shows products from your Shopify catalog. Choose specific products, up to 12, or Dynamic products that are picked automatically: Recently viewed, Newest, Best selling or From collection. Select the block to choose what each product shows: image, title, price and a Button with your own button text. This works for dynamic products too. To find a specific product, search by its name; the search doesn't look up SKUs (item numbers).

Products you choose yourself can also show their Description. To hide a part, such as the description, select the block, hover over that part in the panel on the left and click the eye icon.

To change one of them for this email, click it under Product selection in the block's panel, or tap its edit button in the mobile app. You can change its image, title, description, price, original price, button text and Link, the page it opens. Clear Link to go back to the product's own page.

Recently viewed, which you can choose in flow emails, shows the products each contact has recently viewed. If a contact's viewing history is limited, the block falls back to best selling products.

Cart items: The Products block doesn't read a contact's cart, so none of its criteria show what someone left behind. Abandoned Cart and Abandoned Checkout flow emails use a separate Abandoned cart block for that, which shows exactly what is in the contact's cart or checkout. There is no setting yet to hide specific products, such as a bundle helper item or shipping protection, from the Abandoned cart block or from dynamic products.

Columns

Choose Columns under Layout and the columns appear in your email straight away. Add blocks to each column the same way as anywhere else. Inside a column you can add text blocks, Image, Video, Button, Form, Poll, Divider, HTML and Coupons. Products, columns and sections can't go inside a column.

Select the columns to change the number of columns, their layout and vertical Alignment, stacking on mobile, and their spacing, border and background. Alignment lines the columns up against each other from top to bottom; it doesn't center content from left to right. New columns sit on top of each other on phones. To keep them side by side on phones too, turn off Stack on mobile.

Container and Section

A container groups blocks on their own background, border and padding. New emails start with one around your content. A container inside another container is called a Section. Choose Section under Layout, or select blocks and click Group into section.

Its settings are Background color, Background image, Corner radius, Border style, Thickness and Border color under Style, and Margin and Padding under Layout.

A section with a background color

Header and footer

Your header and footer are blocks at the top and bottom of every email. They start from your Look settings, and changes you make in one email stay in that email.

Click the header to select it. In the panel you can change the Logo, Logo link, Logo width and Alignment, turn the Announcement bar and Navigation links on or off, and change its colors and spacing. To remove the header from this email, click the trash icon on it. To bring it back, click + Add block above your first block and choose Header.

The header selected with its settings

Click the footer to change its social media links, unsubscribe text, footer text and alignment. The footer can't be deleted.

The header and footer stay in place: they can't be dragged, and blocks can't be dropped inside them.

Did this answer your question?