mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 08:46:09 +01:00
🐛 CSS
This commit is contained in:
parent
1710194122
commit
07334bed6a
3 changed files with 10 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
|||
export const searchMarkRender = (protyle: IProtyle, matchElements: NodeListOf<Element>) => {
|
||||
if (matchElements.length === 0) {
|
||||
if (matchElements.length === 0 || !CSS || !CSS.highlights) {
|
||||
return;
|
||||
}
|
||||
protyle.highlight.markHL.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue