Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to search in a page with a Localtab macro?

thgmx September 18, 2020

Hello community, 

I have a page with a Localtab Group macro and some Localtabs inside. If I use a browser search to find a word in a tab currently not shown there is no result (of course).

Is there any way like e.g. a macro or similar to find anything in one of the tabs?

best regards
Humabalan

Confluence Server 7.4.3

1 answer

1 vote
David at David Simpson Apps
Atlassian Partner
September 18, 2020

Yes, the problem is that the text is hidden behind other content.

If I was fixing this and I was the vendor, Bitvoodoo, I would attempt the following:

Have a javascript event listener which listens for text selection events within the Localtab* macros.

If the selected text is not visible, I would register a click event on the tab which contains the text, thereby making the selection visible.

Also, something similar could probably be achieved if text within a hidden tab is the search term from a Confluence search.

As you're on Confluence Server, you could probably roll your own JS in the meantime.

thgmx September 18, 2020

Thank you for this nice idea, David. Unfortunately you are not the vendor (who could implement this js function). And adding js scripts by myself could only be done if I am a site admin, right? 

Anyhow, nice idea. I hope that someone from bitvoodoo will read this :-)

David at David Simpson Apps
Atlassian Partner
October 12, 2020
Like Sloan likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events