mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 17:26:10 +01:00
This commit is contained in:
parent
84b29657f8
commit
5c034d93d0
4 changed files with 19 additions and 18 deletions
|
|
@ -25,6 +25,7 @@ import {confirmDialog} from "../dialog/confirmDialog";
|
|||
import {App} from "../index";
|
||||
import {isBrowser} from "../util/functions";
|
||||
import {unbindSaveUI} from "../boot/onGetConfig";
|
||||
import {openRecentDocs} from "../business/openRecentDocs";
|
||||
|
||||
const togglePinDock = (dock: Dock, icon: string) => {
|
||||
return {
|
||||
|
|
@ -371,6 +372,14 @@ export const workspaceMenu = (app: App, rect: DOMRect) => {
|
|||
}
|
||||
}],
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.recentDocs,
|
||||
icon: "iconFile",
|
||||
accelerator: window.siyuan.config.keymap.general.recentDocs.custom,
|
||||
click: () => {
|
||||
openRecentDocs();
|
||||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.lockScreen,
|
||||
icon: "iconLock",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue