mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-08-13 20:22:43 -06:00
Better bigger/smaller heading icons
This commit is contained in:
parent
afa0101e68
commit
eba5e8a77d
@ -132,6 +132,14 @@
|
|||||||
content: "3";
|
content: "3";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor-toolbar a.fa-header-bigger:after {
|
||||||
|
content: "▲";
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor-toolbar a.fa-header-smaller:after {
|
||||||
|
content: "▼";
|
||||||
|
}
|
||||||
|
|
||||||
.editor-toolbar.disabled-for-preview a:not(.fa-eye):not(.fa-arrows-alt):not(.fa-columns) {
|
.editor-toolbar.disabled-for-preview a:not(.fa-eye):not(.fa-arrows-alt):not(.fa-columns) {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
@ -615,13 +615,13 @@ var toolbarBuiltInButtons = {
|
|||||||
"heading-smaller": {
|
"heading-smaller": {
|
||||||
name: "heading-smaller",
|
name: "heading-smaller",
|
||||||
action: toggleHeadingSmaller,
|
action: toggleHeadingSmaller,
|
||||||
className: "fa fa-header",
|
className: "fa fa-header fa-header-x fa-header-smaller",
|
||||||
title: "Smaller Heading (Ctrl+H)",
|
title: "Smaller Heading (Ctrl+H)",
|
||||||
},
|
},
|
||||||
"heading-bigger": {
|
"heading-bigger": {
|
||||||
name: "heading-bigger",
|
name: "heading-bigger",
|
||||||
action: toggleHeadingBigger,
|
action: toggleHeadingBigger,
|
||||||
className: "fa fa-lg fa-header",
|
className: "fa fa-header fa-header-x fa-header-bigger",
|
||||||
title: "Bigger Heading (Shift+Ctrl+H)",
|
title: "Bigger Heading (Shift+Ctrl+H)",
|
||||||
},
|
},
|
||||||
"heading-1": {
|
"heading-1": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user