Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/5224

Vanessad8fb86c94e99
diff --git a/app/src/config/keymap.ts b/app/src/config/keymap.ts
index d63101c671..c6322989a7 100644
--- a/app/src/config/keymap.ts
+++ b/app/src/config/keymap.ts
@@ -127,7 +127,7 @@ export const keymap = {
},
_search(value: string) {
keymap.element.querySelectorAll("#keymapList .b3-list-item--hide-action > .b3-list-item__text").forEach(item => {
- if (item.textContent.indexOf(value) > -1 || value === "") {
+ if (item.textContent.toLowerCase().indexOf(value.toLowerCase()) > -1 || value === "") {
item.parentElement.classList.remove("fn__none");
item.parentElement.parentElement.classList.remove("fn__none");
} else {