Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text of whole page should be searchable #282

Open
tilfischer opened this issue May 31, 2023 · 0 comments
Open

text of whole page should be searchable #282

tilfischer opened this issue May 31, 2023 · 0 comments

Comments

@tilfischer
Copy link
Member

Some knowledge base pages do have content which first needs to be expanded to be read. When someone searches for a keyword on such a page, the expandable sections are not searched.

Example search term: "review". Example page: https://knowledgebase.nfdi4chem.de/knowledge_base/docs/choose_repository/

To start: To search though these sections, one might remove display: none; in the following line. However, the line is not expanded when there is a result.

<div style="display: none; overflow: hidden; height: 0px; will-change: height; transition: height 420ms ease-in-out 0s;"><div class="collapsibleContent_i85q"><h3>Chemotion - Repository for molecules and research data</h3>[...]</div></div>

Btw: The search function does give results from expandable sections. However, the corresponding section is not expanded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant