diff --git a/app/src/menus/util.ts b/app/src/menus/util.ts
index bd212cf8e..d5c9ebd5d 100644
--- a/app/src/menus/util.ts
+++ b/app/src/menus/util.ts
@@ -11,6 +11,7 @@ import {MenuItem} from "./Menu";
import {App} from "../index";
import {exportByMobile, isInAndroid, updateHotkeyTip} from "../protyle/util/compatibility";
import {checkFold} from "../util/noRelyPCFunction";
+import {showMessage} from "../dialog/message";
export const exportAsset = (src: string) => {
return {
@@ -174,6 +175,7 @@ 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 d09b52ea8..406248513 100644
--- a/app/src/protyle/toolbar/index.ts
+++ b/app/src/protyle/toolbar/index.ts
@@ -1530,7 +1530,7 @@ ${item.name}
let html = "";
const hasCopy = range.toString() !== "" || (range.cloneContents().childNodes[0] as HTMLElement)?.classList?.contains("emoji");
if (hasCopy) {
- html += "";
+ html += '';
if (!protyle.disabled) {
html += `
`;
@@ -1570,9 +1570,13 @@ ${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);