mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -654,5 +654,10 @@ export const getKeyByLiElement = (element: HTMLElement) => {
|
||||
element.querySelectorAll(".b3-list-item__text mark").forEach(item => {
|
||||
keys.push(item.textContent);
|
||||
});
|
||||
if (keys.length === 0) {
|
||||
element.querySelectorAll(".b3-list-item__meta mark").forEach(item => {
|
||||
keys.push(item.textContent);
|
||||
});
|
||||
}
|
||||
return [...new Set(keys)].join(" ");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user