An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Hide tag mutations in read-only mode https://github.com/siyuan-note/siyuan/issues/19465
Danield8b5c5052c0b
diff --git a/app/src/menus/tag.ts b/app/src/menus/tag.tsindex c2f86ddc9b..5ba05b7e79 100644--- a/app/src/menus/tag.ts+++ b/app/src/menus/tag.ts@@ -8,6 +8,9 @@ import {Tag} from "../layout/dock/Tag";import {Constants} from "../constants";export const openTagMenu = (element: HTMLElement, event: MouseEvent, labelName: string) => {+ if (window.siyuan.config.readonly) {+ return;+ }if (!window.siyuan.menus.menu.element.classList.contains("fn__none") &&window.siyuan.menus.menu.element.getAttribute("data-name") === Constants.MENU_TAG) {window.siyuan.menus.menu.remove();