This commit is contained in:
Vanessa 2023-10-12 12:01:53 +08:00
parent 21d1a0515a
commit 1b595d014a

View file

@ -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,