Container¶
A container component with a title, image, features, content and able to include other 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
.
-
features
¶ Optional string of CSS class names divided by a single comma.
-
content
¶ Required long text, it will be editable through CKeditor on plugin form.
-