Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/7957

Vanessa4fe420a242ca
diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.ts
index b6b029d5a4..a03ae76d06 100644
--- a/app/src/layout/dock/Outline.ts
+++ b/app/src/layout/dock/Outline.ts
@@ -273,6 +273,9 @@ export class Outline extends Model {
ghostElement.remove();
item.style.opacity = "";
+ if (!selectItem) {
+ selectItem = this.element.querySelector(".dragover__top, .dragover__bottom, .dragover");
+ }
if (selectItem) {
getAllModels().editor.find(editItem => {
if (editItem.editor.protyle.block.rootID === this.blockId) {