diff --git a/stopwatch/models/components.py b/stopwatch/models/components.py index 05cbebd..db2c5d3 100644 --- a/stopwatch/models/components.py +++ b/stopwatch/models/components.py @@ -21,7 +21,8 @@ class Meta: template = 'stopwatch/components/alert.html' heading = CharBlock() - content = TextBlock() + content = RichTextBlock( + features=['bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', ]) class LinksBlock(StructBlock): diff --git a/stopwatch/templates/stopwatch/components/alert.html b/stopwatch/templates/stopwatch/components/alert.html index b590517..7e53f51 100644 --- a/stopwatch/templates/stopwatch/components/alert.html +++ b/stopwatch/templates/stopwatch/components/alert.html @@ -1,9 +1,9 @@ -{% load static ckbootstrap_tags wagtailembeds_tags %} +{% load static ckbootstrap_tags wagtailembeds_tags wagtailcore_tags %}