From 1b595d014a739094cede52527606d6d45e3ed35c Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 12 Oct 2023 12:01:53 +0800 Subject: [PATCH] :art: #9408 --- app/src/protyle/render/av/cell.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index 5d0f6afda51..53c2c8608eb 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -254,7 +254,7 @@ export const openCalcMenu = (protyle: IProtyle, calcElement: HTMLElement) => { operator: "Percent not empty", label: window.siyuan.languages.calcOperatorPercentNotEmpty }); - if (type === "number") { + if (["number", "template"].includes(type)) { calcItem({ menu, protyle,