[PR #19821] Support for copying nodes between workflows. #29256

Closed
opened 2026-02-21 20:45:11 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/19821

State: closed
Merged: No


Summary

Fix #19708

This pull request updates the clipboard functionality in the workflow-slice.ts file to persist clipboard elements in localStorage. The most important change involves initializing clipboardElements from localStorage and ensuring updates to it are saved back to localStorage.

Close https://github.com/langgenius/dify/issues/17566

Clipboard persistence updates:
clipboardElements now initializes by retrieving data from localStorage (clipboard_elements key) or defaults to an empty array if no data is found.
setClipboardElements has been updated to save the provided clipboard elements to localStorage (clipboard_elements key) whenever it is called.
Support for copying nodes between workflows. Resolves https://github.com/langgenius/dify/issues/19545, see https://github.com/langgenius/dify/issues/19545

**Original Pull Request:** https://github.com/langgenius/dify/pull/19821 **State:** closed **Merged:** No --- Summary Fix #19708 This pull request updates the clipboard functionality in the workflow-slice.ts file to persist clipboard elements in localStorage. The most important change involves initializing clipboardElements from localStorage and ensuring updates to it are saved back to localStorage. Close https://github.com/langgenius/dify/issues/17566 Clipboard persistence updates: clipboardElements now initializes by retrieving data from localStorage (clipboard_elements key) or defaults to an empty array if no data is found. setClipboardElements has been updated to save the provided clipboard elements to localStorage (clipboard_elements key) whenever it is called. Support for copying nodes between workflows. Resolves https://github.com/langgenius/dify/issues/19545, see https://github.com/langgenius/dify/issues/19545
yindo added the pull-request label 2026-02-21 20:45:11 -05:00
yindo closed this issue 2026-02-21 20:45:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#29256