fix: prompt editor

This commit is contained in:
StyleZhang 2024-11-07 12:11:26 +08:00
parent 8ed0963c6b
commit c445f747b7

View File

@ -18,7 +18,7 @@ export class WorkflowVariableBlockNode extends DecoratorNode<JSX.Element> {
}
static clone(node: WorkflowVariableBlockNode): WorkflowVariableBlockNode {
return new WorkflowVariableBlockNode(node.__variables, node.__workflowNodesMap)
return new WorkflowVariableBlockNode(node.__variables, node.__workflowNodesMap, node.__key)
}
isInline(): boolean {