Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/11133

Vanessa1e53010b4d76
diff --git a/app/src/boot/globalEvent/commandPanel.ts b/app/src/boot/globalEvent/commandPanel.ts
index ad9c2154eb..e452e809ef 100644
--- a/app/src/boot/globalEvent/commandPanel.ts
+++ b/app/src/boot/globalEvent/commandPanel.ts
@@ -29,14 +29,14 @@ export const commandPanel = (app: App) => {
dialog.element.setAttribute("data-key", Constants.DIALOG_COMMANDPANEL);
const listElement = dialog.element.querySelector("#commands");
/// #if !MOBILE
- let html = ""
- Object.keys(window.siyuan.config.keymap.general).forEach((key) => {
- html += `<li class="b3-list-item" data-command="${key}">
- <span class="b3-list-item__text">${window.siyuan.languages[key]}</span>
- <span class="b3-list-item__meta${isMobile() ? " fn__none" : ""}">${updateHotkeyTip(window.siyuan.config.keymap.general[key].custom)}</span>
-</li>`;
- });
- listElement.insertAdjacentHTML("beforeend", html);
+// let html = ""
+// Object.keys(window.siyuan.config.keymap.general).forEach((key) => {
+// html += `<li class="b3-list-item" data-command="${key}">
+// <span class="b3-list-item__text">${window.siyuan.languages[key]}</span>
+// <span class="b3-list-item__meta${isMobile() ? " fn__none" : ""}">${updateHotkeyTip(window.siyuan.config.keymap.general[key].custom)}</span>
+// </li>`;
+// });
+// listElement.insertAdjacentHTML("beforeend", html);
/// #endif
app.plugins.forEach(plugin => {
plugin.commands.forEach(command => {