add shortform to keys

This commit is contained in:
Philipp Kühn
2020-04-13 00:16:12 +02:00
parent f29b39238b
commit e03d108423
5 changed files with 17 additions and 13 deletions

View File

@@ -42,9 +42,7 @@ export default class Bold extends Mark {
}
keys() {
return {
'Mod-b': () => this.editor.bold(),
}
return 'Mod-b'
}
inputRules() {