feat(search): add annotations navigation bar, closes #2060 (#2849)

This commit is contained in:
Huang Xin
2026-01-03 14:57:10 +01:00
committed by GitHub
parent fb41ff5d0c
commit 8a263235ed
43 changed files with 701 additions and 163 deletions
@@ -629,7 +629,7 @@ const Annotator: React.FC<{ bookKey: string }> = ({ bookKey }) => {
if (convertChineseVariant && convertChineseVariant !== 'none') {
term = runSimpleCC(term, convertChineseVariant, true);
}
eventDispatcher.dispatch('search', { term });
eventDispatcher.dispatch('search-term', { term, bookKey });
};
const handleDictionary = () => {