It is not possible to paste into code nodes in Google Chrome and Edge browsers. #19862

Closed
opened 2026-02-21 20:04:36 -05:00 by yindo · 2 comments
Owner

Originally created by @AAEE86 on GitHub (Oct 23, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Copy any content, then create a new code node, enter the editing page, press ctrl+v or right-click and select Paste, but no content will be pasted.

✔️ Expected Behavior

Paste code instead of code nodes

Actual Behavior

The code node cannot paste any content. If you copy code from one code node and paste it into a new code node, it will paste a new code node instead of the code.

Originally created by @AAEE86 on GitHub (Oct 23, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Copy any content, then create a new code node, enter the editing page, press ctrl+v or right-click and select Paste, but no content will be pasted. ### ✔️ Expected Behavior Paste code instead of code nodes ### ❌ Actual Behavior The code node cannot paste any content. If you copy code from one code node and paste it into a new code node, it will paste a new code node instead of the code.
yindo added the 🐞 bug label 2026-02-21 20:04:36 -05:00
yindo closed this issue 2026-02-21 20:04:36 -05:00
Author
Owner

@AAEE86 commented on GitHub (Oct 23, 2025):

Copying and pasting code in the Safari browser works normally.
The Safari browser also seems to have issues

@AAEE86 commented on GitHub (Oct 23, 2025): ~~Copying and pasting code in the Safari browser works normally.~~ The Safari browser also seems to have issues
Author
Owner

@AAEE86 commented on GitHub (Oct 23, 2025):

fixed in https://github.com/langgenius/dify/pull/27282

@AAEE86 commented on GitHub (Oct 23, 2025): fixed in https://github.com/langgenius/dify/pull/27282
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#19862