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/10525
Vanessaabcd7b6cf86e
diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.tsindex b7411d9520..0ad5e649ef 100644--- a/app/src/protyle/render/av/row.ts+++ b/app/src/protyle/render/av/row.ts@@ -91,7 +91,11 @@ const setPage = (blockElement: Element) => {* @param avId 还用于判断是否是插入的 block*/export const insertAttrViewBlockAnimation = (protyle: IProtyle, blockElement: Element, srcIDs: string[], previousId: string, avId?: string,) => {- const previousElement = blockElement.querySelector(`.av__row[data-id="${previousId}"]`) || blockElement.querySelector(".av__row--header");+ let previousElement = blockElement.querySelector(`.av__row[data-id="${previousId}"]`) || blockElement.querySelector(".av__row--header");+ // 有排序需要加入最后一行+ if(blockElement.querySelector('.av__views [data-type="av-sort"]').classList.contains("block__icon--active")) {+ previousElement = blockElement.querySelector(".av__row--util").previousElementSibling;+ }let colHTML = '<div class="av__firstcol av__colsticky"><svg><use xlink:href="#iconUncheck"></use></svg></div>';const pinIndex = previousElement.querySelectorAll(".av__colsticky .av__cell").length - 1;if (pinIndex > -1) {