Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/14812

Vanessa1ce1686a54fa
diff --git a/app/src/menus/util.ts b/app/src/menus/util.ts
index d5c9ebd5dc..0edc2f4ae9 100644
--- a/app/src/menus/util.ts
+++ b/app/src/menus/util.ts
@@ -175,7 +175,6 @@ export const openEditorTab = (app: App, ids: string[], notebookId?: string, path
export const copyPNGByLink = (link: string) => {
if (isInAndroid()) {
- showMessage(link);
window.JSAndroid.writeImageClipboard(link);
} else {
const canvas = document.createElement("canvas");
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts
index 4062485139..bba2fb749a 100644
--- a/app/src/protyle/toolbar/index.ts
+++ b/app/src/protyle/toolbar/index.ts
@@ -1570,13 +1570,9 @@ ${item.name}
} else if (action === "paste") {
if (document.queryCommandSupported("paste")) {
document.execCommand("paste");
- showMessage("document paste");
} else {
try {
const text = await readClipboard();
- showMessage("clipboard textHTML" + text.textHTML);
- showMessage("clipboard textPlain" + text.textPlain);
- showMessage("clipboard files" + text.files.length);
paste(protyle, Object.assign(text, {target: nodeElement as HTMLElement}));
} catch (e) {
console.log(e);