mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-23 09:54:28 -06: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",
|
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user