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

@@ -99,8 +99,7 @@ export class ToolCode implements INodeType {
},
},
typeOptions: {
editor: 'codeNodeEditor',
editorLanguage: 'javaScript',
editor: 'jsEditor',
},
default:
'// Example: convert the incoming query to uppercase and return it\nreturn query.toUpperCase()',
@@ -120,7 +119,7 @@ export class ToolCode implements INodeType {
},
},
typeOptions: {
editor: 'codeNodeEditor',
editor: 'codeNodeEditor', // TODO: create a separate `pythonEditor` component
editorLanguage: 'python',
},
default: