From e25c9070e2bc2beeeacf5dee998ca2002f98253d Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 14 Nov 2023 22:23:15 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E2=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/block/popover.ts | 2 +- app/src/protyle/render/av/action.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts index 3d0241822..c1db412f9 100644 --- a/app/src/block/popover.ts +++ b/app/src/block/popover.ts @@ -24,7 +24,7 @@ export const initBlockPopover = (app: App) => { if (aElement.classList.contains("av__celltext")) { if (aElement.offsetWidth > aElement.parentElement.clientWidth - 11) { if (aElement.querySelector(".av__cellicon")) { - tip = `${aElement.firstChild.textContent} ➡️ ${aElement.lastChild.textContent}`; + tip = `${aElement.firstChild.textContent} → ${aElement.lastChild.textContent}`; } else { tip = aElement.textContent; } diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index cb3bf2b0e..5b4e7fc8c 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -41,7 +41,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle if (copyElement) { const textElement = copyElement.previousElementSibling if (textElement.querySelector(".av__cellicon")) { - writeText(`${textElement.firstChild.textContent} ➡️ ${textElement.lastChild.textContent}`); + writeText(`${textElement.firstChild.textContent} → ${textElement.lastChild.textContent}`); } else { writeText(textElement.textContent); }