mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-09-24 16:40:55 -06:00
Fix an old bug with headers icons rendering
This commit is contained in:
parent
7de38d2a01
commit
0ee657f5b3
2
dist/easymde.min.css
vendored
2
dist/easymde.min.css
vendored
File diff suppressed because one or more lines are too long
@ -161,19 +161,19 @@
|
|||||||
content: "1";
|
content: "1";
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-toolbar button.heading-2:after {
|
.editor-toolbar button.header-2:after {
|
||||||
content: "2";
|
content: "2";
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-toolbar button.heading-3:after {
|
.editor-toolbar button.header-3:after {
|
||||||
content: "3";
|
content: "3";
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-toolbar button.heading-bigger:after {
|
.editor-toolbar button.header-bigger:after {
|
||||||
content: "▲";
|
content: "▲";
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-toolbar button.heading-smaller:after {
|
.editor-toolbar button.header-smaller:after {
|
||||||
content: "▼";
|
content: "▼";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1187,6 +1187,8 @@ var toolbarBuiltInButtons = {
|
|||||||
name: 'heading',
|
name: 'heading',
|
||||||
action: toggleHeadingSmaller,
|
action: toggleHeadingSmaller,
|
||||||
className: {
|
className: {
|
||||||
|
// We use both fa-header and fa-heading to keep compatibility with FontAwesome 4
|
||||||
|
// See https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes
|
||||||
fa: 'fa fa-header fa-heading',
|
fa: 'fa fa-header fa-heading',
|
||||||
material: 'material-icons'
|
material: 'material-icons'
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user