소스 검색

:sparkles: fix https://github.com/siyuan-note/insider/issues/1119

Vanessa 1 년 전
부모
커밋
a099162ebd
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      app/src/protyle/render/av/render.ts

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

@@ -231,7 +231,9 @@ const genAVValueHTML = (value: IAVCellValue) => {
             }
             }
             break;
             break;
         case "url":
         case "url":
-            html = `<input value="${value.url.content}" class="b3-text-field b3-text-field--text fn__flex-1">`;
+            html = `<input value="${value.url.content}" class="b3-text-field b3-text-field--text fn__flex-1">
+<span class="fn__space"></span>
+<a href="${value.url.content}" target="_blank" aria-label="${window.siyuan.languages.openBy}" class="block__icon block__icon--show fn__flex-center b3-tooltips__w b3-tooltips"><svg><use xlink:href="#iconLink"></use></svg></a>`;
             break;
             break;
     }
     }
     return html;
     return html;