How so I stop a line of code from inserting itself on a user's save?

I've watched the user make their edits and they aren't doing anything I can see that would insert this piece of code: <br class="confluence-link"/> . However, when we review the page afterwards, there's a paragraph spacing added to one of the panels which they didn't touch and in the panel they edited that code is suddenly there. It's invisible in the editor and just acts like a line that can't be deleted. What is this and how can we stop it?

2 answers

1 accepted

0 votes
Accepted answer

Sorry, I see I wasn't clear. The page has several panels but the code only appears when a user deletes the first line of that specific panel.

We discovered today that the only way it doesn't happen is if one goes directly to the Source Editor to make their deletion. After applying that change, any other changes can be made in the Rich Text Editor.

To me, this is not ideal because it shouldn't be happening. If it should, it would happen in every panel every time the first line is deleted.

If I understand you correctly, this type of "artifacting" is caused when a user edits a page and adds or removes lines, and even when they copy paste text. Just about every action gets wrapped in some kind of markup such as <div>, <span>, <br> and other tags.

These are "invisible" in the text editor, but you can view them, and remove them, by using the Source Editor plugin.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,095 views 56 8
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