Sfoglia il codice sorgente

:art: https://github.com/siyuan-note/siyuan/issues/11465

Vanessa 1 anno fa
parent
commit
19a601a065
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/src/block/popover.ts

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

@@ -44,7 +44,7 @@ export const initBlockPopover = (app: App) => {
                     }
                 }
             } else if (aElement.classList.contains("av__celltext--url")) {
-                tip = `<span style="word-break: break-all">${tip}</span><br>${aElement.getAttribute("data-name")}`;
+                tip = `<span style="word-break: break-all">${tip.substring(0, Constants.SIZE_TITLE)}</span><br>${aElement.getAttribute("data-name")}`;
             }
             if (!tip) {
                 const href = aElement.getAttribute("data-href") || "";