An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/13296#
Vanessad20b009dbab4
diff --git a/app/src/block/Panel.ts b/app/src/block/Panel.tsindex 6cb40fd1ff..f5bc7f872e 100644--- a/app/src/block/Panel.ts+++ b/app/src/block/Panel.ts@@ -125,8 +125,8 @@ export class BlockPanel {} else if (type === "stickTab") {checkFold(this.refDefs[0].refID, (zoomIn, action) => {openFileById({- app:options.app,- id:this.refDefs[0].refID,+ app: options.app,+ id: this.refDefs[0].refID,action,zoomIn,openNewTab: truediff --git a/app/src/block/popover.ts b/app/src/block/popover.tsindex f995b9053e..a216eb5231 100644--- a/app/src/block/popover.ts+++ b/app/src/block/popover.ts@@ -272,7 +272,16 @@ const hidePopover = (event: MouseEvent & { path: HTMLElement[] }) => {itemLevel > parseInt(blockElement.getAttribute("data-level"))) {if (menuLevel && menuLevel >= itemLevel) {// 有 gutter 菜单时不隐藏+ break;} else {+ const hasToolbar = item.editors.find(editItem => {+ if (!editItem.protyle.toolbar.subElement.classList.contains("fn__none")) {+ return true;+ }+ });+ if (hasToolbar) {+ break;+ }item.destroy();}}@@ -284,10 +293,20 @@ const hidePopover = (event: MouseEvent & { path: HTMLElement[] }) => {if ((item.targetElement || typeof item.x === "number") && item.element.getAttribute("data-pin") === "false") {if (menuLevel && menuLevel >= itemLevel) {// 有 gutter 菜单时不隐藏+ break;} else if (item.targetElement && item.targetElement.classList.contains("protyle-wysiwyg__embed") &&item.targetElement.contains(targetElement)) {// 点击嵌入块后浮窗消失后再快速点击嵌入块无法弹出浮窗 https://github.com/siyuan-note/siyuan/issues/12511+ break;} else {+ const hasToolbar = item.editors.find(editItem => {+ if (!editItem.protyle.toolbar.subElement.classList.contains("fn__none")) {+ return true;+ }+ });+ if (hasToolbar) {+ break;+ }item.destroy();}}