Confluence: Page search doesn't work with the Expand Macro or Code Block when collapsed


One of my coworkers was looking for information he knew was on a specific page. He used Ctrl+F to look for the info on the page. But no result came back.

He discovered that the info - which is in an Expand macro - was only found using Ctrl+F when the Expand macro is expanded. When it is collapsed, the info doesn't display.

He then found out that the same issue happens when he looks for code that's in a collapsed Code Block macro. We use collapsed Code Blocks for very long code. So we frequently use it but not always.

I also did a test where I looked for information that I know is in a collapsed expand. The Space search displayed the results. But when I went to the page to do a Page Search, the result came up nil.

Does anyone know how to get around this issue? Or how to fix the issue?



3 answers

This widget could not be displayed.
Boris Berenberg Community Champion Apr 17, 2015

I filled an improvement request for this at: as I could not find any existing ones.

This widget could not be displayed.

Hi Rosemary, in the meanwhile this feature gets digested by our tracker, you may use a CSS syntax to conceal keywords that will take you to that page section along the HTML Macro

This widget could not be displayed.

Hi everyone!

This issue is still open?

We have the same problem.


CSS and HTML macro is not a solution. sad


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

258 views 2 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you