From 67f7af3dd848fa69ad7c497b97a7f5c31281ec73 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 9 Jan 2023 19:59:36 +0800 Subject: [PATCH] :memo: --- app/src/protyle/util/paste.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts index a7126d2c3..4a5416a41 100644 --- a/app/src/protyle/util/paste.ts +++ b/app/src/protyle/util/paste.ts @@ -193,7 +193,8 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven isHTML = true; } else if (textHTML.replace("", "").trim() !== "") { textHTML = textHTML.replace("", "").replace("", "").trim(); - // 浏览器上复制当个图片应拷贝到本地,excel 中的复制需粘贴 + // 浏览器上复制单个图片应拷贝到本地,excel 中的复制需粘贴 + console.log(textHTML); if (files && files.length === 1 && textHTML.indexOf(" -1) { isHTML = false; } else {