From 1ce1686a54fac744956c6629b1c9a6a82e28a964 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 12 May 2025 22:48:04 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14812 --- app/src/menus/util.ts | 1 - app/src/protyle/toolbar/index.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/app/src/menus/util.ts b/app/src/menus/util.ts index d5c9ebd5d..0edc2f4ae 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 406248513..bba2fb749 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);