Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Show confirmation when copying from the image menu https://github.com/siyuan-note/siyuan/issues/19151

Daniel002f995a107e
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts
index 775cd8f711..256eeb6464 100644
--- a/app/src/menus/protyle.ts
+++ b/app/src/menus/protyle.ts
@@ -1242,6 +1242,7 @@ export const imgMenu = (protyle: IProtyle, range: Range, assetElement: HTMLEleme
// The file name encoding is abnormal after copying the image and pasting it https://github.com/siyuan-note/siyuan/issues/11246
content = content.replace(/%20/g, " ");
writeText(content);
+ showMessage(window.siyuan.languages.copied);
}
}).element);
if (protyle.disabled) {