prefix all commands with ‚commands‘
This commit is contained in:
@@ -39,7 +39,7 @@ const Italic = createMark({
|
||||
|
||||
addKeyboardShortcuts() {
|
||||
return {
|
||||
'Mod-i': () => this.editor.italic(),
|
||||
'Mod-i': () => this.editor.commands.italic(),
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user