From 4dede6c3aa9f5d3e8fa3c2d7c967166dfaca2fff Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 8 Sep 2021 12:40:44 +0530 Subject: [PATCH] Enable legacy rich-text wrapper In wagtail version prior to 2.10, the rich text values were enclosed in a `
` element. This behavior was removed since 2.10. This pull request re-enables this. See: https://docs.wagtail.io/en/stable/releases/2.10.html#div-class-rich-text-wrappers-removed-from-rich-text --- publichealth/settings/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/publichealth/settings/base.py b/publichealth/settings/base.py index 371adad..f9d716a 100644 --- a/publichealth/settings/base.py +++ b/publichealth/settings/base.py @@ -43,6 +43,7 @@ INSTALLED_APPS = [ 'wagtail.contrib.forms', 'wagtail.contrib.redirects', 'wagtail.contrib.search_promotions', + "wagtail.contrib.legacy.richtext", 'wagtail.embeds', 'wagtail.sites',