From a6ab0c58d24879c759ba2364ed8e47ef4a8cb1e6 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 10 May 2024 18:13:23 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11338 --- app/src/protyle/render/av/row.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.ts index aabccabf0..3bc76303a 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"' : ""}> { - 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")) {