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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

960 views 14 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