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);