refactor(editor): Replace monaco-editor/prismjs with CodeMirror (#5983)
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com> Co-authored-by: Milorad FIlipović <milorad@n8n.io> Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
committed by
GitHub
parent
88724bb056
commit
ca4e0df90b
@@ -70,11 +70,7 @@ export default defineComponent({
|
||||
return false;
|
||||
}
|
||||
|
||||
if (
|
||||
this.parameter.typeOptions &&
|
||||
this.parameter.typeOptions.editor &&
|
||||
this.parameter.typeOptions.editor === 'codeNodeEditor'
|
||||
) {
|
||||
if (this.parameter.typeOptions?.editor === 'codeNodeEditor') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user