Hide some content of a page in editing view ?

Hi (an sorry for my english),

Would there be a way to hide some content of a page, but only in edit view? So that defined users could be able to see the entire content of the page in normal view, but not be able to edit the concerned parts?

I've tried the visibility plugin but with no result (i'm able to hide some content in normal view, but not in edit...). I'm not even sure that there's a way to achieve this.

I'm trying to make the edit view the most "simple" as possible, because the page layout (ex: sections and colums macros, etc) could confuse some of my users. I think i can't do this with template variables, due to the amount of text the users should be able to add.

Any help would be apprecated...

Thanx in advance.

4 answers

Hi Paul,

There's not really such a good way to do so, but you might consider copying and pasting the content (using the source editor plugin) into a user macro (and setting it to visible only for administrators). That's the only way I know of that you could do what you asked. Just be aware that if you have to do this for a lot of pages you will have a ton of user macros... Not exactly ideal, but there you have it.

Best regards


Hi Stephen.

Thanks a lot for your answer and the tip. I'll give it a try.

Thanx again.

Hello Paul, there is one way to enclose content in a separate macro which can keep customers away from editing such, the only risk would be to have the macro itself removed from the page:

There is a Macro called Excerpt Include which can pull content from another page into the target one, and one can assign edit permissions to the originating page.

Hope this can be a solution.

I tried this this morning, with the include page macro. It worked, but not rendered properly some parts of the layout. I'll give a try to the excerpt one. Hoped a "hide" macro would have done the job better.

Thanx a lot anyway.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,028 views 51 8
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