mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-10 09:14:20 +01:00
This commit is contained in:
parent
751c1df6b6
commit
80fdb02366
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue