Update keymap.ts (#8946)

This commit is contained in:
Yingyi / 颖逸 2023-08-10 11:35:20 +08:00 committed by GitHub
parent ce8729302a
commit 4d53229337
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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