Commit 6a4f355d by Sven Marnach

Use the HTML editor for the header and footer snippets.

parent 9a2d532d
...@@ -242,14 +242,16 @@ class DashboardBlock(StudioEditableXBlockMixin, XBlock): ...@@ -242,14 +242,16 @@ class DashboardBlock(StudioEditableXBlockMixin, XBlock):
display_name=_("Header HTML"), display_name=_("Header HTML"),
default="", default="",
help=_("Additional HTML to include after the heading."), help=_("Additional HTML to include after the heading."),
multiline_editor=True, multiline_editor="html",
resettable_editor=False,
scope=Scope.content, scope=Scope.content,
) )
footer_html = String( footer_html = String(
display_name=_("Footer HTML"), display_name=_("Footer HTML"),
default="", default="",
help=_("Additional HTML to include after the bottom of the page."), help=_("Additional HTML to include after the bottom of the page."),
multiline_editor=True, multiline_editor="html",
resettable_editor=False,
scope=Scope.content, scope=Scope.content,
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment