refactor(editor): Do not use CodeNodeEditor anywhere except the Code node (no-changelog) (#8636)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-02-15 11:35:50 +01:00
committed by GitHub
parent 941278db68
commit bf729aa2f0
3 changed files with 8 additions and 11 deletions

View File

@@ -158,8 +158,7 @@ export class Code implements INodeType {
name: 'code',
type: 'string',
typeOptions: {
editor: 'codeNodeEditor',
editorLanguage: 'javaScript',
editor: 'jsEditor',
},
default: defaultCodeExecute,
hint: 'This code will only run and return data if a "Main" input & output got created.',
@@ -176,8 +175,7 @@ export class Code implements INodeType {
name: 'code',
type: 'string',
typeOptions: {
editor: 'codeNodeEditor',
editorLanguage: 'javaScript',
editor: 'jsEditor',
},
default: defaultCodeSupplyData,
hint: 'This code will only run and return data if an output got created which is not "Main".',