Skip to content

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

:bug: Close menu after transposing Markdown tables https://github.com/siyuan-note/siyuan/issues/11512

Danielccdd03db7a0d
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts
index 84505bbdf9..08847ea2be 100644
--- a/app/src/menus/protyle.ts
+++ b/app/src/menus/protyle.ts
@@ -2307,7 +2307,9 @@ export const tableMenu = (protyle: IProtyle, nodeElement: Element, cellElement:
otherMenus.push({
id: "transposeTable",
label: window.siyuan.languages.transposeTable,
- click: () => transposeTable(protyle, nodeElement, range)
+ click: () => {
+ transposeTable(protyle, nodeElement, range);
+ }
});
}
otherMenus.push({id: "separator_1", type: "separator"});