|
|
|
@ -15,6 +15,7 @@ type Props = {
|
|
|
|
editorKey: string
|
|
|
|
editorKey: string
|
|
|
|
onChange: (text: string) => void
|
|
|
|
onChange: (text: string) => void
|
|
|
|
generatorType: GeneratorType
|
|
|
|
generatorType: GeneratorType
|
|
|
|
|
|
|
|
isShowCurrentBlock: boolean
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const InstructionEditorInWorkflow: FC<Props> = ({
|
|
|
|
const InstructionEditorInWorkflow: FC<Props> = ({
|
|
|
|
@ -23,6 +24,7 @@ const InstructionEditorInWorkflow: FC<Props> = ({
|
|
|
|
editorKey,
|
|
|
|
editorKey,
|
|
|
|
onChange,
|
|
|
|
onChange,
|
|
|
|
generatorType,
|
|
|
|
generatorType,
|
|
|
|
|
|
|
|
isShowCurrentBlock,
|
|
|
|
}) => {
|
|
|
|
}) => {
|
|
|
|
const workflowStore = useWorkflowStore()
|
|
|
|
const workflowStore = useWorkflowStore()
|
|
|
|
|
|
|
|
|
|
|
|
@ -49,6 +51,7 @@ const InstructionEditorInWorkflow: FC<Props> = ({
|
|
|
|
availableVars={availableVars}
|
|
|
|
availableVars={availableVars}
|
|
|
|
availableNodes={availableNodes}
|
|
|
|
availableNodes={availableNodes}
|
|
|
|
getVarType={getVarType}
|
|
|
|
getVarType={getVarType}
|
|
|
|
|
|
|
|
isShowCurrentBlock={isShowCurrentBlock}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|