Skip to content

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

Update keymap.ts (#8946)

Yingyi / 颖逸4d5322933759
diff --git a/app/src/config/keymap.ts b/app/src/config/keymap.ts
index cdc7d6e37e..223086154e 100644
--- a/app/src/config/keymap.ts
+++ b/app/src/config/keymap.ts
@@ -51,7 +51,7 @@ export const keymap = {
</label>`;
});
if (commandHTML) {
- pluginHtml += `<div class="b3-list__panel">
+ pluginHtml += `
<div class="b3-list-item b3-list-item--narrow toggle">
<span class="b3-list-item__toggle b3-list-item__toggle--hl">
<svg class="b3-list-item__arrow"><use xlink:href="#iconRight"></use></svg>
@@ -61,7 +61,7 @@ export const keymap = {
<div class="fn__none b3-list__panel">
${commandHTML}
</div>
-</div>`;
+`;
}
});
if (pluginHtml) {
@@ -72,7 +72,9 @@ export const keymap = {
</span>
<span class="b3-list-item__text ft__on-surface">${window.siyuan.languages.plugin}</span>
</div>
- ${pluginHtml}
+ <div class="b3-list__panel">
+ ${pluginHtml}
+ </div>
</div>`;
}
return `<label class="fn__flex b3-label config__item">