From 4a656d3ab89c1cf50e49984ca01e471e3b3802ed Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 27 Nov 2025 17:46:50 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16445 --- app/src/editor/util.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/editor/util.ts b/app/src/editor/util.ts index 50fb491c0..d30befbb6 100644 --- a/app/src/editor/util.ts +++ b/app/src/editor/util.ts @@ -35,6 +35,7 @@ import {newCardModel} from "../card/newCardTab"; import {preventScroll} from "../protyle/scroll/preventScroll"; import {clearOBG} from "../layout/dock/util"; import {Model} from "../layout/Model"; +import {hideElements} from "../protyle/ui/hideElements"; export const openFileById = async (options: { app: App, @@ -421,6 +422,10 @@ const switchEditor = (editor: Editor, options: IOpenFileOptions, allModels: IMod } pushBack(editor.editor.protyle, editor.editor.protyle.toolbar.range); } + // https://github.com/siyuan-note/siyuan/issues/16445 + if (options.action.includes(Constants.CB_GET_OUTLINE)) { + hideElements(["select"], editor.editor.protyle); + } if (options.mode) { setEditMode(editor.editor.protyle, options.mode); }