An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
feat: 拖拽列表项时高亮块 (#13974)
Jeffrey Chen586908b3161e
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.tsindex e3c3f3db3b..71748c17f8 100644--- a/app/src/protyle/util/editorCommonEvent.ts+++ b/app/src/protyle/util/editorCommonEvent.ts@@ -817,6 +817,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {window.siyuan.dragElement = undefined;event.preventDefault();} else if (target.classList.contains("protyle-action")) {+ target.parentElement.classList.add("protyle-wysiwyg--select");const ghostElement = document.createElement("div");ghostElement.className = protyle.wysiwyg.element.className;ghostElement.append(processClonePHElement(target.parentElement.cloneNode(true) as Element));