mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 18:10:43 +08:00
🐛 search
This commit is contained in:
parent
e81b861506
commit
b3f55ac3b4
@ -2,7 +2,7 @@ import {Constants} from "../../constants";
|
|||||||
import {isInEmbedBlock} from "../util/hasClosest";
|
import {isInEmbedBlock} from "../util/hasClosest";
|
||||||
|
|
||||||
export const searchMarkRender = (protyle: IProtyle, keys: string[], hlId?: string | number, cb?: () => void) => {
|
export const searchMarkRender = (protyle: IProtyle, keys: string[], hlId?: string | number, cb?: () => void) => {
|
||||||
if (!isSupportCSSHL()) {
|
if (!isSupportCSSHL() || !keys || keys.length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user