Expand my Community achievements bar.

SOLVED

Add Placeholder Text to a DITA template in Guides

Avatar

Level 1

I recall that it is possible to add a bit of code to a paragraph tag in a DITA template (e.g., Topic) that would display a prompt for the author regarding the text to enter in that tag. When the author clicks within the tag, the prompt text disappears. Does any remember the specifics of that?

1 Accepted Solution

Avatar

Correct answer by
Employee

@MichaelAi1 : you can add following element in the template element:

 

 

<?tcx-placeholder-text content="placeholder content goes here"?>

 

 

I hope this helps. 

 

DivrajSingh_0-1713963203848.png

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

@MichaelAi1 : you can add following element in the template element:

 

 

<?tcx-placeholder-text content="placeholder content goes here"?>

 

 

I hope this helps. 

 

DivrajSingh_0-1713963203848.png