Commit 1619596
Add q param to algolia search, fix search term highlighting across html nodes (#14080)
* Add q param to algolia search, add highlighting that works when search term is across multiple html nodes
* Reorganize a lil
* Fix search tab activation regression: preserve active tab and pageshow timing
Adapt openAllTabsetsContainingEl to:
- Skip tab activation when the active pane already contains a match
- Defer tab activation to pageshow so it runs after tabsets.js restores
localStorage state (search activation wins over stored preference)
- Scroll to first visible match after tab activation settles
- Fix implicit global variable (const leaf)
* simplify scrollToFirstVisibleMatch
* Add q param to algolia search, add highlighting that works when search term is across multiple html nodes
---------
Co-authored-by: Christophe Dervieux <[email protected]>1 parent ee0f68b commit 1619596
2 files changed
Lines changed: 193 additions & 156 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | 129 | | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments