From c7c0906082e364971fcf3be8d06bb76b807842d1 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 7 Oct 2025 19:14:37 +0800 Subject: [PATCH] :fire: 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> --- app/src/protyle/header/openTitleMenu.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/protyle/header/openTitleMenu.ts b/app/src/protyle/header/openTitleMenu.ts index 37dce17d0..50e2557b9 100644 --- a/app/src/protyle/header/openTitleMenu.ts +++ b/app/src/protyle/header/openTitleMenu.ts @@ -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);