diff --git a/opentech/apply/funds/blocks.py b/opentech/apply/funds/blocks.py index ba035942e651df24e7aad7a7125f6e25b012fbe0..41f799aace417bf4009ebb262335ba4fd56b4acd 100644 --- a/opentech/apply/funds/blocks.py +++ b/opentech/apply/funds/blocks.py @@ -39,7 +39,19 @@ class RichTextFieldBlock(TextFieldBlock): widget = TinyMCE(mce_attrs={ 'elementpath': False, 'branding': False, - 'toolbar1': 'undo redo | styleselect | bold italic | bullist numlist | link' + 'toolbar1': 'undo redo | styleselect | bold italic | bullist numlist | link', + 'style_formats': [ + {'title': 'Headers', 'items': [ + {'title': 'Header 1', 'format': 'h1'}, + {'title': 'Header 2', 'format': 'h2'}, + {'title': 'Header 3', 'format': 'h3'}, + ]}, + {'title': 'Inline', 'items': [ + {'title': 'Bold', 'icon': 'bold', 'format': 'bold'}, + {'title': 'Italic', 'icon': 'italic', 'format': 'italic'}, + {'title': 'Underline', 'icon': 'underline', 'format': 'underline'}, + ]}, + ], }) class Meta: