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:
कारतोफ्फेलस्क्रिप्ट™
2023-04-25 14:57:21 +00:00
committed by GitHub
parent 88724bb056
commit ca4e0df90b
25 changed files with 240 additions and 691 deletions

View File

@@ -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;
}