mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
Merge pull request #16853 from yuliang615/dev
Fix:Copy button in code blocks copies the original AI output instead of the edited content
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
|
||||
const copyCode = async () => {
|
||||
copied = true;
|
||||
await copyToClipboard(code);
|
||||
await copyToClipboard(_code);
|
||||
|
||||
setTimeout(() => {
|
||||
copied = false;
|
||||
|
||||
Reference in New Issue
Block a user