When I am in Edit mode of a Confluence page, there are places where I want to display a "hint" as to what should be entered at a particular location
An example of this is the Task list macro where it gives some useful instruction for when you are creating the tasks.
How do I create that "hint" text (that hint text doesn't appear in the normal viewing mode of the page)
Given the confusion between Cloud and Server versions of Confluence some posters on this question have had, I'd like to expound on the correct answers provided by Rodney and Scott:
Confluence Server (example shown: Confluence 7.2)
Note that in both cases, you must Inspect the text / modify it in the page's DOM tree (the developer tools in Chrome) if you want to change the placeholder text after you've copied it onto the page. You could also just add different placeholder text on the template again, and then copy/paste that to your page. Simply clicking on the placeholder and typing on a normal page will overwrite the placeholder text - that's the intended purpose of the placeholder/instructional text blocks.
The relative difficulty in getting placeholder/instructional text added to a page is because they are intended to be used on templates. When following the instructions to get placeholders added on a page, please consider if it makes more sense to simply create a template for the page you're working on. It may not in all cases, but likely you may find some situations where a template will save you time in the long run.
While not straight forward, it's actually pretty easy to do.
Hope that helps!
the process suggested by Scott Hughes does work ... but a bit "clunky"
The process is to have a template page already with that hidden prompt text - put it in edit mode so you can see the prompt text ... e.g. click Create and select a new page template.
Copy that prompt text into your own page
Now right click the text and select "Inspect" (Ctrl+Shift+I)
now in the inspection pane that has opened, right click the prompt text line and choose edit text
It works ... but I am "happy" to fiddle like that in various template pages we use ... but getting any of my 4500 Users comfortable to do that is ... well, it is just too hard and scary for them
It would be REALLY nice if Confluence had another tool in page edit mode that any User could insert anywhere on the page that did all that for them
To replicate the Instructional text used in templates, use the Confluence Source Editor add-on to add a placeholder:
<ac:placeholder>This is an example of instruction text that will get replaced when a user selects the text and begins typing.</ac:placeholder>
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event