From af31b2faf5d0e564986fa10422736d5178f9d40a Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Mon, 21 Sep 2020 12:10:10 +0200 Subject: [PATCH] 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. --- mpicms/templates/wagtailcore/shared/richtext.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mpicms/templates/wagtailcore/shared/richtext.html b/mpicms/templates/wagtailcore/shared/richtext.html index cd10e94..3722274 100644 --- a/mpicms/templates/wagtailcore/shared/richtext.html +++ b/mpicms/templates/wagtailcore/shared/richtext.html @@ -1 +1,2 @@ -{{ html|safe }} \ No newline at end of file +{{ html|safe }} +