Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: fix https://github.com/siyuan-note/siyuan/issues/5127 2

Vanessaa6a65f567a0b
diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.ts
index 6070b8a71c..64b02acc2e 100644
--- a/app/src/layout/dock/Outline.ts
+++ b/app/src/layout/dock/Outline.ts
@@ -95,7 +95,7 @@ export class Outline extends Model {
click: (element: HTMLElement) => {
const models = getAllModels();
models.editor.find(item => {
- if (this.blockId === item.editor.protyle.block.rootID) {
+ if (this.blockId === item.editor.protyle.block.rootID && !item.element.classList.contains("fn__none")) {
const id = element.getAttribute("data-node-id");
const targetElement = item.editor.protyle.wysiwyg.element.querySelector(`[data-node-id="${id}"]`);
if (targetElement) {