mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
fix: prompt editor insert quickly (#4004)
This commit is contained in:
parent
05cab85579
commit
8b3edac091
|
@ -115,7 +115,7 @@ const PromptEditor: FC<PromptEditorProps> = ({
|
|||
WorkflowVariableBlockNode,
|
||||
VariableValueBlockNode,
|
||||
],
|
||||
editorState: value ? textToEditorState(value as string) : null,
|
||||
editorState: textToEditorState(value || ''),
|
||||
onError: (error: Error) => {
|
||||
throw error
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user