mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00: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:
commit
1dc8056d84
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@
|
||||||
|
|
||||||
const copyCode = async () => {
|
const copyCode = async () => {
|
||||||
copied = true;
|
copied = true;
|
||||||
await copyToClipboard(code);
|
await copyToClipboard(_code);
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
copied = false;
|
copied = false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue