This commit is contained in:
parent
869c9138e1
commit
e8d23550a4
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ import {needSubscribe} from "../util/needSubscribe";
|
|||
import * as dayjs from "dayjs";
|
||||
import {commandPanel} from "../plugin/commandPanel";
|
||||
import {exportLayout} from "./util";
|
||||
import {showMessage} from "../dialog/message";
|
||||
|
||||
export const initBar = (app: App) => {
|
||||
const toolbarElement = document.getElementById("toolbar");
|
||||
|
@ -116,6 +117,7 @@ export const initBar = (app: App) => {
|
|||
event.stopPropagation();
|
||||
break;
|
||||
} else if (targetId === "barExit") {
|
||||
showMessage(window.siyuan.languages["_kernel"][95]);
|
||||
exportLayout({
|
||||
reload: false,
|
||||
onlyData: false,
|
||||
|
|
Loading…
Add table
Reference in a new issue