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: block 不在第一行时删除
Vanessa0d704a549f43
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.tsindex fce18dbd39..92b8e87d13 100644--- a/app/src/protyle/render/av/action.ts+++ b/app/src/protyle/render/av/action.ts@@ -255,7 +255,7 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positiconst rowElements = blockElement.querySelectorAll(".av__row--select:not(.av__row--header)");rowElements.forEach(item => {rowIds.push(item.getAttribute("data-id"));- blockIds.push(item.querySelector(".av__cell").getAttribute("data-block-id"));+ blockIds.push(item.querySelector(".av__cell[data-block-id]").getAttribute("data-block-id"));});updateHeader(rowElement);menu.addItem({