diff --git a/stopwatch/models/components.py b/stopwatch/models/components.py index db2c5d3..cfe96f3 100644 --- a/stopwatch/models/components.py +++ b/stopwatch/models/components.py @@ -68,7 +68,7 @@ class InternalLinkBlock(LinkBlock): def get_href(self, value): return self.get_target(value).url - heading = CharBlock() + heading = CharBlock(required=False) message = RichTextBlock(required=False, features=['h1', 'h2', 'h3', 'h4', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'embed', 'blockquote']) links = StreamBlock(( diff --git a/stopwatch/templates/stopwatch/components/links.html b/stopwatch/templates/stopwatch/components/links.html index acc5b90..d5a60ca 100644 --- a/stopwatch/templates/stopwatch/components/links.html +++ b/stopwatch/templates/stopwatch/components/links.html @@ -1,8 +1,9 @@ {% load static wagtailcore_tags ckbootstrap_tags wagtailembeds_tags %} -