浏览代码

:memo: →

Vanessa 1 年之前
父节点
当前提交
e25c9070e2
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/src/block/popover.ts
  2. 1 1
      app/src/protyle/render/av/action.ts

+ 1 - 1
app/src/block/popover.ts

@@ -24,7 +24,7 @@ export const initBlockPopover = (app: App) => {
             if (aElement.classList.contains("av__celltext")) {
             if (aElement.classList.contains("av__celltext")) {
                 if (aElement.offsetWidth > aElement.parentElement.clientWidth - 11) {
                 if (aElement.offsetWidth > aElement.parentElement.clientWidth - 11) {
                     if (aElement.querySelector(".av__cellicon")) {
                     if (aElement.querySelector(".av__cellicon")) {
-                        tip = `${aElement.firstChild.textContent} ➡️ ${aElement.lastChild.textContent}`;
+                        tip = `${aElement.firstChild.textContent}  ${aElement.lastChild.textContent}`;
                     } else {
                     } else {
                         tip = aElement.textContent;
                         tip = aElement.textContent;
                     }
                     }

+ 1 - 1
app/src/protyle/render/av/action.ts

@@ -41,7 +41,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
     if (copyElement) {
     if (copyElement) {
         const textElement = copyElement.previousElementSibling
         const textElement = copyElement.previousElementSibling
         if (textElement.querySelector(".av__cellicon")) {
         if (textElement.querySelector(".av__cellicon")) {
-            writeText(`${textElement.firstChild.textContent} ➡️ ${textElement.lastChild.textContent}`);
+            writeText(`${textElement.firstChild.textContent}  ${textElement.lastChild.textContent}`);
         } else {
         } else {
             writeText(textElement.textContent);
             writeText(textElement.textContent);
         }
         }