mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 05:40:10 +08:00
This commit is contained in:
parent
4e0dd6120c
commit
bc85ec131c
@ -651,7 +651,7 @@ export const initCriteriaMenu = (element: HTMLElement, data: Config.IUILayoutTab
|
||||
|
||||
export const getKeyByLiElement = (element: HTMLElement) => {
|
||||
const keys: string[] = [];
|
||||
element.querySelectorAll("mark").forEach(item => {
|
||||
element.querySelectorAll(".b3-list-item__text mark").forEach(item => {
|
||||
keys.push(item.textContent);
|
||||
});
|
||||
return [...new Set(keys)].join(" ");
|
||||
|
Loading…
Reference in New Issue
Block a user