Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: fix https://github.com/siyuan-note/siyuan/issues/10586

Vanessa2ae6628c6837
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts
index 399f185f08..0ebb1773f1 100644
--- a/app/src/menus/protyle.ts
+++ b/app/src/menus/protyle.ts
@@ -728,7 +728,7 @@ export const contentMenu = (protyle: IProtyle, nodeElement: Element) => {
selectAll(protyle, nodeElement, range);
}
}).element);
- if (nodeElement.classList.contains("table")) {
+ if (nodeElement.classList.contains("table") && !protyle.disabled) {
const cellElement = hasClosestByMatchTag(range.startContainer, "TD") || hasClosestByMatchTag(range.startContainer, "TH");
if (cellElement) {
window.siyuan.menus.menu.append(new MenuItem({