prefix all commands with ‚commands‘

This commit is contained in:
Philipp Kühn
2020-11-13 11:42:04 +01:00
parent c3fa5ebf1b
commit 13489998b9
20 changed files with 54 additions and 82 deletions

View File

@@ -78,7 +78,7 @@ const CodeBlock = createNode({
addKeyboardShortcuts() {
return {
'Mod-Shift-c': () => this.editor.codeBlock(),
'Mod-Shift-c': () => this.editor.commands.codeBlock(),
}
},