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

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
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 ...

583 views 20 11
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