Container

A container component with a title, image, features, content and able to include children plugins.

class cmsplugin_blocks.models.container.Container(*args, **kwargs)[source]

Container component.

title

An optional title string.

template

Template choice from available plugin templates in setting BLOCKS_CONTAINER_TEMPLATES. Default to the first choice item.

image

Optional image file, limited to enabled image formats from settings BLOCKS_ALLOWED_IMAGE_EXTENSIONS.

image_alt

An optional text string for alternative image text.

size_features

Optional related size features.

color_features

Optional related color features.

extra_features

Optional related extra features.

content

Required long text, it will be editable through CKeditor on plugin form.