Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why does Confluence use class="auto-cursor-target"

Bill Bailey Community Leader Jun 27, 2019

This is more of a curiosity.

I often have to edit the storage code for a page to clean up various items. I noticed awhile back that the following code would appear, I guess as a spacer around some objects?

 <p class="auto-cursor-target">

It seems the be filtered out when the page is displayed. Does anyone know why Confluence is inserting this code?


3 answers

1 vote
Davin Studer Community Leader Jun 27, 2019

I believe it has something to do with collaborative editing as I have only seen that when Synchrony is turned on.

Bill Bailey Community Leader Jun 27, 2019

That could be. I know I can delete them, but they are reinserted. The only reason I care is it creates extra phantom space in the editor view that causes me to think it is empty p tags or something like this:


auto-cursor-target is like a virus. Once it gets into your page is messes up the formatting and it is very hard to get rid of

You can manually edit the HTML, get rid of the auto-cursor-target and add a <span></span> instead. 

Directly save the page and don't touch or edit it again ant the <br> is gone. We use this for example for pages that we include in other pages.

This will not help everyone but at least it works :-)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

453 views 24 9
Join discussion

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you