mirror of https://github.com/laurent22/joplin.git
Dedktop: Fix typo when passing generic editor commands to the editor (#4240)
parent
f16fd6462b
commit
18c5404cbc
|
@ -223,7 +223,7 @@ function CodeMirror(props: NoteBodyEditorProps, ref: any) {
|
|||
if (commands[cmd.name]) {
|
||||
commandOutput = commands[cmd.name](cmd.value);
|
||||
} else if (editorRef.current.supportsCommand(cmd)) {
|
||||
commandOutput = editorRef.current.execCommandFromJoplinCommand(cmd);
|
||||
commandOutput = editorRef.current.execCommandFromJoplin(cmd);
|
||||
} else {
|
||||
reg.logger().warn('CodeMirror: unsupported Joplin command: ', cmd);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue