mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-27 10:46:09 +01:00
This commit is contained in:
parent
891867b0f2
commit
827b3a4650
1 changed files with 4 additions and 1 deletions
|
|
@ -4,7 +4,9 @@ import {copySubMenu, movePathToMenu, openFileAttr, openFileWechatNotify} from ".
|
|||
import {deleteFile} from "../../editor/deleteFile";
|
||||
import {transferBlockRef} from "../../menus/block";
|
||||
import {updateHotkeyTip} from "../util/compatibility";
|
||||
/// #if !MOBILE
|
||||
import {openBacklink, openGraph, openOutline} from "../../layout/dock/util";
|
||||
/// #endif
|
||||
import {Constants} from "../../constants";
|
||||
import {openCardByData} from "../../card/openCard";
|
||||
import {viewCards} from "../../card/viewCards";
|
||||
|
|
@ -57,6 +59,7 @@ export const openTitleMenu = (protyle: IProtyle, position: {
|
|||
}
|
||||
}).element);
|
||||
}
|
||||
/// #if !MOBILE
|
||||
window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
icon: "iconAlignCenter",
|
||||
|
|
@ -82,6 +85,7 @@ export const openTitleMenu = (protyle: IProtyle, position: {
|
|||
openGraph(protyle);
|
||||
}
|
||||
}).element);
|
||||
/// #endif
|
||||
window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.wechatReminder,
|
||||
|
|
@ -160,5 +164,4 @@ ${window.siyuan.languages.createdAt} ${dayjs(response.data.ial.id.substr(0, 14))
|
|||
}).element);
|
||||
window.siyuan.menus.menu.popup(position, position.isLeft);
|
||||
});
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue