This commit is contained in:
parent
78497c40d0
commit
d04fc77a98
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ export const openFile = async (options: IOpenFileOptions) => {
|
|||
if (typeof options.removeCurrentTab === "undefined") {
|
||||
options.removeCurrentTab = true;
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/10168
|
||||
document.querySelectorAll(".av__panel, .av__mask").forEach(item => {
|
||||
item.remove();
|
||||
});
|
||||
const allModels = getAllModels();
|
||||
// 文档已打开
|
||||
if (options.assetPath) {
|
||||
|
|
Loading…
Add table
Reference in a new issue