Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

A. M. Alfaro June 11, 2013

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
Answer accepted
A. M. Alfaro June 12, 2013

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.

0 votes
Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2013

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
TAGS
AUG Leaders

Atlassian Community Events