You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
(For Confluence version 5.8.18)
I am looking for a way (macro?) to propose this:
in a wiki page, inserting some content that is displayed only in 'edit' mode (indeed, it would be some guidelines about how to manage content in edit mode). But when in 'reading' mode, this content would not be displayed.
Is there a macro that does this kind of job?
The Page Properties Macro helped me hide content.
1) Add the Page Properties Macro.
2) Add notes or instructions within the macro box.
3) Check the "Hidden" box within the macro.
The content within the macro will not show unless you are in Edit mode (as long as the Hidden box is checked).
Yes you can do this.
Use the Confluence Source Editor addon, edit the page, click the "<>" button and put the following code.
<ac:placeholder>This text will only be visible in edit mode
If the answer solves your question please mark it as accepted so that it might benefit other people.
There's another trick to this if you want to do it without add-ons.
Create a new template, and look carefully for the formatting for guidance or placeholder text. Create some text and make it that type.
Create a new page from the template, so you end up in edit mode.
Highlight and copy some of the placeholder text.
Paste it into the edit page for the page you want it on and then update the text to what you need there.
This feature is supported by the Section Macro (Hide Parameter).
I assume that this can also be achieved by a user macro and there are probably many macros that allow to hide content (e.g. see here). I'd recommend to check if there is already a macro with a 'hide' feature installed on your Confluence. ;)
The one I provided a link for is part of a free add-on on the Atlassian Marketplace. Please note that I'm one of the authors of this add-on.
Thanks Robert for your feedback.
I cannot find the 'Hide' parameter with the 'Section' macro: