Tweak ShortcutsArray definition for simplemde (#17944)

This commit is contained in:
Bas Bosman
2017-07-17 10:47:49 -07:00
committed by Andy
parent 7ef13ce8d0
commit b15d47c31d
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ declare namespace SimpleMDE {
}
interface ShortcutsArray {
[action: string]: string;
[action: string]: string|undefined;
toggleBlockquote?: string;
toggleBold?: string;
cleanBlock?: string;
+2 -1
View File
@@ -57,7 +57,8 @@ function testSimplemde() {
codeSyntaxHighlighting: true
},
shortcuts: {
drawTable: "Cmd-Alt-T"
drawTable: "Cmd-Alt-T",
toggleCodeBlock: null
},
showIcons: ["code", "table"],
spellChecker: false,