How to convert pasted content into an unordered list

I have some content that looks like this:

$ cat -vet text.txt
One$
Two$
Three$

($ means CR as opposed to ^M$ which means LF CR)

When I paste:

One
Two
Three

into the Confluence GUI editor, select the text and click the "Unordered List" button I get this:

  • One

 

  • Two

 

  • Three

 

What is this feature called?

How do I turn it off?

I don't enjoy doing manual ASCII art-style editing to make it look like:

  • One
  • Two
  • Three

If this is not a feautre, but an unintended behavior, can you please fix it?

In the meantime what do I have to do get format pasted content into a pretty unordered list quickly and easily?

 

-Paul

4 answers

0 votes
Steven Behnke Community Champion May 05, 2015

Since you never called out specifically, you are referring to the additional line breaks that seem to be in your list, when you press the unordered list? Could you post the Storage Format of that page so we can see what is happening?

We're using Confluence v5.6.1. How do I view the "Storage Format"?

This page says to click on "..."

(https://confluence.atlassian.com/display/DOC/Confluence+Storage+Format)

 

I see no such thing. In v5.6.1, how do I determine the "Storage Format"?

 

Under the "Tools" menu there are various items, none called seem to contain the "Storage Format". I do notice that when I choose "View Source" that the source looks nearly identical to the page itself when rendered. So if the "Source" is text and not HTML, this may be part of the problem.

So I did an experiment...

I pasted the following into the page editor:

 

<ul>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

 

Then saved the page and viewed the source...

The rendered view and source view are identical. In other words, the HTML is not being rendered.

It's almost like Confluence isn't aware of HTML and is just operating in "WordPad" mode–for lack of a better term.

So here's my work around...

Create the document in MS Word and import into Confluence.

Word of course is a much more feature rich "editor".

I can paste a simple, plain text list, select it and format it as an unordered list without it messing up like Confluence's editor does. Then just save the docx and import. The imported version in Confluence looks exactly like the Word doc.

My conclusion is that Confluence's editor is broken. If you disagree with this statement, reproduce the behavior I've outlined in this thread and write a strong justification as to why adding two CRs in between unordered list items is a feature desired by your customers. Failing that, please correct the behavior to produce pretty output after formatting.

Thanks,

Paul

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

1,145 views 20 14
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