This commit is contained in:
Vanessa 2023-01-09 22:26:16 +08:00
parent 751c1df6b6
commit 80fdb02366

View file

@ -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,