Fixes Django-CMS issues with WebComponents.

Properties

dontHideToolbar: boolean

With this component the DjangoCMS toolbar will be mostly hidden and only appear on mouse over. Set this property to keep the toolbar always visible.

dontRemoveHtmlMargin: boolean

By default DjangoCMS is adding a top margin to the html element and this component is removing it again. Set this property to keep the top margin.

imgCssQueries: string

Comma separated css queries which define which img tags come from the django cms richtext editor and should be altered.

These img tags will be wrapped in a div tag with the class "django-cms-image" and div tags will be added which contain the author and description of the image. The div tags will get the classes "django-cms-image-author" and "django-cms-image-description" respectively.

If the img tag contains a style "float: left" or "float: right", the style will be removed and the wrapping div tag will get the class "django-cms-image-left" or "django-cms-image-right" respectively.

If the img tag contains a "width" or "height" attribute, the img tag and the wrapper will get the class "has-dimensions".

Generated using TypeDoc