Variables dissapear when hitting "enter"

This question is in reference to Atlassian Documentation: Create a Template

Hello,

not sure what I'm doing wrong, but following the documentation and trying to insert a variable in a new template doesn't work.

When adding variable the prompt shows me: $__ (1) and when I add location(2) to the grey area and hit enter (exactly as mentioned in the documentation) that is supposed to be the area to add the variable name. The entire field disappears. The only thing I'm left with is a $ sign without my variable name.

step 1:
image2016-8-18 14:47:25.png

step 2:
image2016-8-18 14:48:16.png

step 3 (after hitting "enter"):
image2016-8-18 14:49:12.png 

What am I doing wrong?

(I'm using Confluence 5.10.3 with Chrome)

1 answer

1 accepted

1 vote
Davin Studer Community Champion Aug 18, 2016

It's a bug that has been around for a while. You have to make sure that you are typing in the slightly lighter gray section next to the $. The best way is to type "$" in the body of the editor and then start typing the variable name. Don't use the button in the toolbar to add a variable. When you use that button your cursor is not placed in the slightly grayer(don't think that is a word) section and then you end up with all sorts of issues.

I've seen that this only happens in Google Chrome. In Edge I don't have this problem. The cursor remains active at the point where you create the variable.

Thanks Davin!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,694 views 26 10
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