An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: fix https://github.com/siyuan-note/insider/issues/1120
Vanessaa967b72443b0
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex 9befc0520f..ebe52e55aa 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -341,11 +341,14 @@ export const openCalcMenu = (protyle: IProtyle, calcElement: HTMLElement) => {export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[]) => {const type = cellElements[0].parentElement.parentElement.firstElementChild.querySelector(`[data-col-id="${cellElements[0].getAttribute("data-col-id")}"]`).getAttribute("data-dtype") as TAVCol;+ if (type === "block") {+ return;+ }const cellRect = cellElements[0].getBoundingClientRect();let html = "";const style = `style="position:absolute;left: ${cellRect.left}px;top: ${cellRect.top}px;width:${Math.max(cellRect.width, 200)}px;height: ${cellRect.height}px"`;const blockElement = hasClosestBlock(cellElements[0]);- if (["block", "text", "url"].includes(type)) {+ if (["text", "url"].includes(type)) {html = `<textarea ${style} class="b3-text-field">${cellElements[0].firstElementChild.textContent}</textarea>`;} else if (type === "number") {html = `<input type="number" value="${cellElements[0].textContent}" ${style} class="b3-text-field">`;