Logo Mark

Introduction

Usage

Once configured, your editors & publishers will see inline previews of existing matrix blocks as well as a pop-up modal when adding new blocks.


Inline Previews

When editing entries in the Craft CMS control panel, there will now be "inline" preview images for all matrix field blocks. These are small thumbnail images alongside the title & description:

An example of an inline preview within an existing matrix field block.

These are useful to give editors a visual reminder of what each block looks like on the page. Each thumbnail can be hovered-over to see the full thumbnail image:

Hovering a thumbnail will reveal the entire image

When your editors are working on matrix fields, the button for adding a new block to the field will now launch a modal overlay:

Note that the screenshots here have been blurred to avoid distraction.

This overlay has a few features:

  1. The matrix field blocks. These are all of the blocks available the matrix field being edited. Editors will see a preview screenshot, a title and a short description (if added).
  2. Search input. Editors can search through blocks by title or description. This field is autofocused by default for efficiency.
  3. Category filters. The lefthand sidebar displays the categories that have been configured, allowing editors to narrow down their search to particular types of content.

Takeover

By default, the Matrix Field Preview modal will replace the default "add block" button.

This is called "takeover". If disabled, instead of completely replacing the button, an additional "content preview" button will appear beside the "add block" button:

Previous
Configuration
Next
Neo