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/11084
Vanessaa945cf9c18a4
diff --git a/app/src/protyle/render/av/openMenuPanel.ts b/app/src/protyle/render/av/openMenuPanel.tsindex 91789c89f8..bed92f9165 100644--- a/app/src/protyle/render/av/openMenuPanel.ts+++ b/app/src/protyle/render/av/openMenuPanel.ts@@ -848,6 +848,7 @@ export const openMenuPanel = (options: {} else if (type === "updateColType") {if (target.dataset.newType !== target.dataset.oldType) {const name = (avPanelElement.querySelector('.b3-text-field[data-type="name"]') as HTMLInputElement).value;+ data.view.columns.find((item: IAVColumn) => item.id === options.colId).type = target.dataset.newType as TAVCol;transaction(options.protyle, [{action: "updateAttrViewCol",id: options.colId,@@ -899,10 +900,16 @@ export const openMenuPanel = (options: {blockID}]);}-}}- avPanelElement.remove();+ menuElement.innerHTML = getEditHTML({+ protyle: options.protyle,+ data,+ colId: options.colId,+ isCustomAttr+ });+ bindEditEvent({protyle: options.protyle, data, menuElement, isCustomAttr, blockID});+ setPosition(menuElement, tabRect.right - menuElement.clientWidth, tabRect.bottom, tabRect.height);event.preventDefault();event.stopPropagation();break;