mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-11-04 11:03:04 +00:00 
			
		
		
		
	core: fix heading in MarkdownInput
This commit is contained in:
		@@ -53,10 +53,10 @@
 | 
				
			|||||||
			// showIcons: ["code", "table", "clean-block"],
 | 
								// showIcons: ["code", "table", "clean-block"],
 | 
				
			||||||
			toolbar: [
 | 
								toolbar: [
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					name: "heading",
 | 
										name: "heading-smaller",
 | 
				
			||||||
					action: SimpleMDE.toogleHeadingSmaller,
 | 
										action: SimpleMDE.toggleHeadingSmaller,
 | 
				
			||||||
					className: "fa fa-header",
 | 
										className: "fa fa-header",
 | 
				
			||||||
					title: "{{ translations.heading }}"
 | 
										title: "{{ translations.heading_smaller }}"
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					name: "italic",
 | 
										name: "italic",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -102,7 +102,7 @@ class MarkdownInput(Textarea):
 | 
				
			|||||||
            "css": static("core/simplemde/simplemde.min.css"),
 | 
					            "css": static("core/simplemde/simplemde.min.css"),
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        context["translations"] = {
 | 
					        context["translations"] = {
 | 
				
			||||||
            "heading": _("Heading"),
 | 
					            "heading_smaller": _("Heading"),
 | 
				
			||||||
            "italic": _("Italic"),
 | 
					            "italic": _("Italic"),
 | 
				
			||||||
            "bold": _("Bold"),
 | 
					            "bold": _("Bold"),
 | 
				
			||||||
            "strikethrough": _("Strikethrough"),
 | 
					            "strikethrough": _("Strikethrough"),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user