mirror of
https://github.com/langgenius/dify.git
synced 2026-04-15 09:57:03 +08:00
fix: ValueSyncPlugin of prompt editor unmounted
This commit is contained in:
parent
f23b30d950
commit
af8c399e94
@ -232,6 +232,7 @@ const PromptEditor: FC<PromptEditorProps> = ({
|
||||
floatingAnchorElem={floatingAnchorElem}
|
||||
onEditorChange={handleEditorChange}
|
||||
/>
|
||||
<ValueSyncPlugin value={value} />
|
||||
</div>
|
||||
</LexicalComposer>
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user