mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-17 05:05:11 +02:00
Added defaults for more toolbar buttons
This commit is contained in:
parent
ff48a879ea
commit
d60d0cd80d
|
@ -471,6 +471,18 @@ var toolbarDefaults = {
|
|||
className: "fa fa-header",
|
||||
title: "Heading (Ctrl+H)",
|
||||
},
|
||||
"heading-smaller": {
|
||||
name: "headingSmaller",
|
||||
action: toggleHeadingSmaller,
|
||||
className: "fa fa-lg fa-header",
|
||||
title: "Heading (Ctrl+H)",
|
||||
},
|
||||
"heading-bigger": {
|
||||
name: "headingBigger",
|
||||
action: toggleHeadingBigger,
|
||||
className: "fa fa-header",
|
||||
title: "Heading (Shift+Ctrl+H)",
|
||||
},
|
||||
"quote": {
|
||||
name: "quote",
|
||||
action: toggleBlockquote,
|
||||
|
@ -501,6 +513,12 @@ var toolbarDefaults = {
|
|||
className: "fa fa-picture-o",
|
||||
title: "Insert Image (Ctrl+Alt+I)",
|
||||
},
|
||||
"horizontal-rule": {
|
||||
name: "horizontal-rule",
|
||||
action: drawHorizontalRule,
|
||||
className: "fa fa-minus",
|
||||
title: "Insert Horizontal Line",
|
||||
},
|
||||
"preview": {
|
||||
name: "preview",
|
||||
action: togglePreview,
|
||||
|
|
Loading…
Reference in a new issue