Skip to content

Commit

Permalink
Enable all editing tools
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert authored and kesara committed Sep 23, 2021
1 parent 3f400a2 commit 8553682
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ietf/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,21 @@
WAGTAIL_USAGE_COUNT_ENABLED = True
WAGTAILIMAGES_IMAGE_MODEL = "images.IETFImage"
WAGTAILDOCS_DOCUMENT_MODEL = "documents.IetfDocument"
WAGTAILADMIN_RICH_TEXT_EDITORS = {
'default': {
'WIDGET': 'wagtail.admin.rich_text.DraftailRichTextArea',
'OPTIONS': {
'features': [
'h2', 'h3', 'h4', 'h5', 'h6',
'ol', 'ul',
'bold', 'italic',
'superscript', 'subscript', 'strikethrough',
'hr', 'link', 'document-link',
'image', 'embed',
'code', 'blockquote']
}
}
}

# Application-wide settings
DATATRACKER_URI = "https://datatracker.ietf.org"

0 comments on commit 8553682

Please sign in to comment.