From 078075a1db152f8434dbc0508a686382b7599e19 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Tue, 6 Mar 2018 11:28:12 +0000 Subject: [PATCH] Turn off the admin rich text area until wagtail 2.1 --- opentech/settings/base.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/opentech/settings/base.py b/opentech/settings/base.py index 6b0784a49..89bde4c0b 100644 --- a/opentech/settings/base.py +++ b/opentech/settings/base.py @@ -274,14 +274,15 @@ WAGTAILIMAGES_FEATURE_DETECTION_ENABLED = False WAGTAILADMIN_RICH_TEXT_EDITORS = { 'default': { 'WIDGET': 'wagtail.admin.rich_text.DraftailRichTextArea', - 'OPTIONS': { - 'features': [ - 'bold', 'italic', - 'h3', 'h4', 'h5', - 'ol', 'ul', - 'link' - ] - } + # fixed in wagtail 2.1: https://github.com/wagtail/wagtail/commit/09f8a4f38a95f2760f38ab2f142443df93b5d8c6 + # 'OPTIONS': { + # 'features': [ + # 'bold', 'italic', + # 'h3', 'h4', 'h5', + # 'ol', 'ul', + # 'link' + # ] + # } }, } -- GitLab