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: fix https://github.com/siyuan-note/siyuan/issues/6635
Vanessac35d9a8397c0
diff --git a/app/src/protyle/markdown/blockRender.ts b/app/src/protyle/markdown/blockRender.tsindex ab690ed527..2a4ca22512 100644--- a/app/src/protyle/markdown/blockRender.ts+++ b/app/src/protyle/markdown/blockRender.ts@@ -22,6 +22,7 @@ export const blockRender = (protyle: IProtyle, element: Element, top?: number) =}// 需置于请求返回前,否则快速滚动会导致重复加载 https://ld246.com/article/1666857862494?r=88250item.setAttribute("data-render", "true");+ item.style.height = (item.clientHeight - 8) + "px"; // 减少抖动 https://ld246.com/article/1668669380171item.innerHTML = `<div class="protyle-icons${hasClosestByAttribute(item.parentElement, "data-type", "NodeBlockQueryEmbed") ? " fn__none" : ""}"><span class="protyle-icon protyle-action__reload protyle-icon--first"><svg class="fn__rotate"><use xlink:href="#iconRefresh"></use></svg></span><span class="protyle-icon protyle-action__edit"><svg><use xlink:href="#iconEdit"></use></svg></span>@@ -79,6 +80,7 @@ export const blockRender = (protyle: IProtyle, element: Element, top?: number) =blockRender(protyle, embedElement);});}+ item.style.height = "";});});};