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/11338

Vanessaa6ab0c58d248
diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.ts
index aabccabf04..3bc76303a3 100644
--- a/app/src/protyle/render/av/row.ts
+++ b/app/src/protyle/render/av/row.ts
@@ -235,9 +235,7 @@ ${getTypeByCellElement(item) === "block" ? ' data-detached="true"' : ""}><span c
};
export const stickyRow = (blockElement: HTMLElement, elementRect: DOMRect, status: "top" | "bottom" | "all") => {
- if (blockElement.querySelector(".av__title").getAttribute("contenteditable") === "false") {
- return;
- }
+ // 只读模式下也许固定 https://github.com/siyuan-note/siyuan/issues/11338
const scrollRect = blockElement.querySelector(".av__scroll").getBoundingClientRect();
const headerElement = blockElement.querySelector(".av__row--header") as HTMLElement;
if (headerElement && (status === "top" || status === "all")) {