2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-24 10:24:29 -06:00

New heading icon: Update README / tweak code

This commit is contained in:
Wes Cossick 2015-08-14 14:07:36 -05:00
parent ee471abde9
commit 8754f008fd
2 changed files with 3 additions and 2 deletions

View File

@ -98,6 +98,7 @@ Name | Action | Class | Tooltip
:--- | :----- | :---- | :------
bold | toggleBold | fa fa-bold | Bold (Ctrl+B)
italic | toggleItalic | fa fa-italic | Italic (Ctrl+I)
headingSmaller | toggleHeadingSmaller | fa fa-header | Heading (Ctrl+H)
code | toggleCodeBlock | fa fa-code | Code (Ctrl+Alt+C)
quote | toggleBlockquote | fa fa-quote-left | Quote (Ctrl+')
unordered-list | toggleUnorderedList | fa fa-list-ul | Generic List (Ctrl+L)

View File

@ -5,7 +5,7 @@ var shortcuts = {
'Cmd-I': toggleItalic,
'Cmd-K': drawLink,
'Cmd-H': toggleHeadingSmaller,
'Cmd-Alt-H': toggleHeadingBigger,
'Shift-Cmd-H': toggleHeadingBigger,
'Cmd-Alt-I': drawImage,
"Cmd-'": toggleBlockquote,
'Cmd-Alt-L': toggleOrderedList,
@ -453,7 +453,7 @@ var toolbar = [{
name: "headingSmaller",
action: toggleHeadingSmaller,
className: "fa fa-header",
title: "Heading 1-6 (Ctrl+H and Ctrl+Alt+H)",
title: "Heading (Ctrl+H)",
},
"|", {
name: "quote",