diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index f573c58f7..99cc3bf36 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -1483,6 +1483,10 @@ export class WYSIWYG { /// #if MOBILE openMobileFileById(refBlockId, foldResponse.data ? [Constants.CB_GET_ALL, Constants.CB_GET_HL] : [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]); /// #else + if (aElement) { + window.open(aElement.getAttribute("data-href")) + return; + } if (window.siyuan.shiftIsPressed) { openFileById({ id: refBlockId,