Commit 19c1361e authored by Sli's avatar Sli

core: fix heading in MarkdownInput

parent 542a2ede
Pipeline #1671 passed with stage
in 11 minutes and 31 seconds
......@@ -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",
......
......@@ -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"),
......
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