prefix all commands with ‚commands‘
This commit is contained in:
@@ -28,7 +28,7 @@ const Paragraph = createNode({
|
||||
|
||||
addKeyboardShortcuts() {
|
||||
return {
|
||||
'Mod-Alt-0': () => this.editor.paragraph(),
|
||||
'Mod-Alt-0': () => this.editor.commands.paragraph(),
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user