mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(editor): Do not use CodeNodeEditor anywhere except the Code node (no-changelog) (#8636)
This commit is contained in:
committed by
GitHub
parent
941278db68
commit
bf729aa2f0
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user