ContentBlocks ContentBlocks 2.x Configuring Content Plugins Overview

Plugins add manager-side behavior to blocks, layouts, or the canvas. Add a plugin to the plugins object in the relevant JSON configuration.

Where inputs define content, plugins define behavior.

See the full Plugins reference for per-plugin options and examples.

Where to add plugins

Level Config file Scope
Canvas canvas/*.json All blocks/layouts on that canvas
Layout layouts/*.json All instances of that layout
Block blocks/*.json All instances of that block type

Custom plugins

To create a custom plugin, extend ContentBlocks.Plugin and register an instance on ContentBlocks.Plugins. See Creating Plugins.