🔥 Remove the "Import" item from the doc block menu within the doc https://github.com/siyuan-note/siyuan/issues/16019

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-10-07 19:14:37 +08:00
parent b7bce02107
commit c7c0906082
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -21,7 +21,6 @@ import {popSearch} from "../../mobile/menu/search";
import {openSearch} from "../../search/spread";
import {openDocHistory} from "../../history/doc";
import {openNewWindowById} from "../../window/openNewWindow";
import {genImportMenu} from "../../menus/navigation";
import {transferBlockRef} from "../../menus/block";
import {addEditorToDatabase} from "../render/av/addToDatabase";
import {openFileById} from "../../editor/util";
@ -267,7 +266,6 @@ export const openTitleMenu = (protyle: IProtyle, position: IPosition) => {
}
}).element);
}
genImportMenu(protyle.notebookId, protyle.path);
window.siyuan.menus.menu.append(exportMd(protyle.block.showAll ? protyle.block.id : protyle.block.rootID));
window.siyuan.menus.menu.append(new MenuItem({id: "separator_4", type: "separator"}).element);