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

Commits on Sep 21, 2020

  1. Import richtext template from wagtail

    Import file from wagtail library with
    
        cp .../wagtail/core/templates/wagtailcore/shared/richtext.html \
           .../mpicms//mpicms/templates/wagtailcore/shared/richtext/richtext.html
    donald committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    27009fb View commit details
    Browse the repository at this point in the history
  2. Add clear:both property after richtext streamfield

    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 committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    af31b2f View commit details
    Browse the repository at this point in the history