core: fix heading in MarkdownInput

This commit is contained in:
Antoine Bartuccio 2018-12-19 14:10:39 +01:00
parent 542a2ede32
commit 19c1361e47
2 changed files with 4 additions and 4 deletions

View File

@ -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",

View File

@ -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"),