mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-12 07:32:34 +01:00
🚨
This commit is contained in:
parent
f28ce5a3b7
commit
5d6c71e35a
8 changed files with 40 additions and 46 deletions
|
|
@ -549,7 +549,7 @@ export const enterBack = (protyle: IProtyle, id: string) => {
|
|||
} else {
|
||||
zoomOut({protyle, id: protyle.block.parent2ID, focusId: id});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const zoomOut = (options: {
|
||||
protyle: IProtyle,
|
||||
|
|
@ -1015,11 +1015,11 @@ export const linkMenu = (protyle: IProtyle, linkElement: HTMLElement, focusText
|
|||
}).element);
|
||||
}
|
||||
if (linkAddress) {
|
||||
window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element)
|
||||
window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element);
|
||||
openMenu(protyle.app, linkAddress, false, true);
|
||||
/// #if !BROWSER
|
||||
if (linkAddress?.startsWith("assets/")) {
|
||||
window.siyuan.menus.menu.append(new MenuItem(exportAsset(linkAddress)).element)
|
||||
window.siyuan.menus.menu.append(new MenuItem(exportAsset(linkAddress)).element);
|
||||
}
|
||||
/// #endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue