From 2ae6628c6837e465b47f2ac15bef218623c428c0 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 13 Mar 2024 08:29:07 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/10586 --- app/src/menus/protyle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index 399f185f0..0ebb1773f 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({