mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
This commit is contained in:
parent
736c09fc79
commit
c315fce720
3 changed files with 6 additions and 0 deletions
|
|
@ -1504,6 +1504,9 @@ ${item.tag ? `<span class="b3-list-item__meta b3-list-item__meta--ellipsis">${it
|
|||
};
|
||||
|
||||
export const highlightMark = (protyle: IProtyle, matchElements: NodeListOf<Element>) => {
|
||||
if (matchElements.length === 0) {
|
||||
return;
|
||||
}
|
||||
protyle.highlight.markHL.clear();
|
||||
protyle.highlight.markHL.clear();
|
||||
protyle.highlight.ranges = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue