Skip to content

Clear each streamfield #102

Merged
merged 2 commits into from
Sep 21, 2020
Merged

Clear each streamfield #102

merged 2 commits into from
Sep 21, 2020

Conversation

donald
Copy link
Member

@donald donald commented Sep 21, 2020

Add clear:both property after richtext streamfield

Resolves #4

Import file from wagtail library with

    cp .../wagtail/core/templates/wagtailcore/shared/richtext.html \
       .../mpicms//mpicms/templates/wagtailcore/shared/richtext/richtext.html
Clear floats after each streamfield block, so that content
from the next block doesn't fill free space besides floating
images of the previous block.

This allows the editor to seperate text, which should appear
besides an image, from following text by just starting a new
streamfield block.
@donald donald merged commit 2cadd13 into master Sep 21, 2020
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Bilder mit (seitlicher) Beschriftung
1 participant