diff --git a/core/templates/core/markdown_textarea.jinja b/core/templates/core/markdown_textarea.jinja index 87bcc8de..3b4637ef 100644 --- a/core/templates/core/markdown_textarea.jinja +++ b/core/templates/core/markdown_textarea.jinja @@ -53,10 +53,10 @@ // showIcons: ["code", "table", "clean-block"], toolbar: [ { - name: "heading", - action: SimpleMDE.toogleHeadingSmaller, + name: "heading-smaller", + action: SimpleMDE.toggleHeadingSmaller, className: "fa fa-header", - title: "{{ translations.heading }}" + title: "{{ translations.heading_smaller }}" }, { name: "italic", diff --git a/core/views/forms.py b/core/views/forms.py index 874ec86c..1b7f83ab 100644 --- a/core/views/forms.py +++ b/core/views/forms.py @@ -102,7 +102,7 @@ class MarkdownInput(Textarea): "css": static("core/simplemde/simplemde.min.css"), } context["translations"] = { - "heading": _("Heading"), + "heading_smaller": _("Heading"), "italic": _("Italic"), "bold": _("Bold"), "strikethrough": _("Strikethrough"),