mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 21:38:48 +01:00
This commit is contained in:
parent
4e0dd6120c
commit
bc85ec131c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue