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">
     <br/>
</p>

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

 

2 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:

<p>
     <br/>
</p

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

Suggest an answer

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

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

283 views 9 7
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