Vanessa 2023-02-03 22:29:34 +08:00
parent 8660a2b214
commit 86311447d1
8 changed files with 59 additions and 30 deletions

View file

@ -206,7 +206,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
paths.push(item.getAttribute("data-path"));
}
});
newFile(notebookId, pathPosix().dirname(pathString), true, paths);
newFile(notebookId, pathPosix().dirname(pathString), paths);
}
}).element);
window.siyuan.menus.menu.append(new MenuItem({
@ -222,7 +222,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
}
}
});
newFile(notebookId, pathPosix().dirname(pathString), true, paths);
newFile(notebookId, pathPosix().dirname(pathString), paths);
}
}).element);
window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element);