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