mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🚨
This commit is contained in:
parent
2a859ad52c
commit
2e26a74d12
1 changed files with 2 additions and 2 deletions
|
|
@ -1023,7 +1023,7 @@ const renderNextSearchMark = (options: {
|
||||||
options.edit.protyle.highlight.ranges.forEach((item, index) => {
|
options.edit.protyle.highlight.ranges.forEach((item, index) => {
|
||||||
if (options.edit.protyle.highlight.rangeIndex === index) {
|
if (options.edit.protyle.highlight.rangeIndex === index) {
|
||||||
options.edit.protyle.highlight.markHL.add(item);
|
options.edit.protyle.highlight.markHL.add(item);
|
||||||
currentRange = item
|
currentRange = item;
|
||||||
} else {
|
} else {
|
||||||
options.edit.protyle.highlight.mark.add(item);
|
options.edit.protyle.highlight.mark.add(item);
|
||||||
}
|
}
|
||||||
|
|
@ -1115,7 +1115,7 @@ export const getArticle = (options: {
|
||||||
} else {
|
} else {
|
||||||
highlightById(options.edit.protyle, options.id);
|
highlightById(options.edit.protyle, options.id);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
highlightKeys();
|
highlightKeys();
|
||||||
const observer = new ResizeObserver(() => {
|
const observer = new ResizeObserver(() => {
|
||||||
highlightKeys();
|
highlightKeys();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue