diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts
index 4a5416a41..7687b277a 100644
--- a/app/src/protyle/util/paste.ts
+++ b/app/src/protyle/util/paste.ts
@@ -193,11 +193,13 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
isHTML = true;
} else if (textHTML.replace("", "").trim() !== "") {
textHTML = textHTML.replace("", "").replace("", "").trim();
- // 浏览器上复制单个图片应拷贝到本地,excel 中的复制需粘贴
- console.log(textHTML);
- if (files && files.length === 1 && textHTML.indexOf("
-1) {
+ if (files && files.length === 1 && (
+ textHTML.startsWith("
-1) // excel 中的复制带有图片的表格
+ )) {
isHTML = false;
} else {
+ // 需注意 Edge 中的画选不应识别为图片 https://github.com/siyuan-note/siyuan/issues/7021
isHTML = true;
}
}