2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-23 01:44:31 -06:00

Added defaults for more toolbar buttons

This commit is contained in:
Fraser Redmond 2015-08-18 10:06:00 +01:00
parent ff48a879ea
commit d60d0cd80d

View File

@ -471,6 +471,18 @@ var toolbarDefaults = {
className: "fa fa-header", className: "fa fa-header",
title: "Heading (Ctrl+H)", 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": { "quote": {
name: "quote", name: "quote",
action: toggleBlockquote, action: toggleBlockquote,
@ -501,6 +513,12 @@ var toolbarDefaults = {
className: "fa fa-picture-o", className: "fa fa-picture-o",
title: "Insert Image (Ctrl+Alt+I)", title: "Insert Image (Ctrl+Alt+I)",
}, },
"horizontal-rule": {
name: "horizontal-rule",
action: drawHorizontalRule,
className: "fa fa-minus",
title: "Insert Horizontal Line",
},
"preview": { "preview": {
name: "preview", name: "preview",
action: togglePreview, action: togglePreview,