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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

915 views 23 12
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