Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to paste multiline plain text as paragraphs?

When I paste multiline plain text into Confluence (and JIRA), the line-ends are converted to soft line ends (Shift-Enter). I expected that they will be converted to paragraphs. This works with Word, when I paste the same text to Word, it will create paragraphs. Pasting to Word and then copy pasting from Word to Confluence makes the desired result but that's too much thinking, typing and clicking.

Can you help me?

Kind regards, Jan

3 answers

1 accepted

0 votes
Answer accepted

There is no way to do it with just a single line break. If they handled it that way then there would be no way to paste text in and have it do line break breaks vs new paragraphs. In order to have paragraph breaks you source text must have two line breaks like this ...




Thank you David for explanation but I don't accept it. In my opinion they could detect format in clipboard and when the format is plain text, do the conversion of pasted text the same way as Word does. In case the browser does not provide a way to tell clipboard format, they could enhance Atlassian Companion tool to do that.

Kind regards, Jan

Sure, they could do that, but that is not currently how it is setup. It's not really a bug or anything. It is behaving as it was designed. You could submit a feature request to enhance the functionality.

1 vote

I found this page looking for an answer myself, and I've just now tripped into a workaround accidentally.

  • Insert a code snippet.
  • Paste your code into it. (code is inserted as line breaks, not paragraph breaks)
  • Select all the code. 
  • Select "clear formatting" from the formatting bar.

Sometimes it's a little fussy, like the "clear formatting" option is grayed out. Sometimes I had to have the text selected, sometimes I had to have the entire object selected (drag the cursor around the whole code block so it has a blue outline).

It's a number of steps but better than pasting 20 lines and having to correct them manually.

0 votes
Ben Chen I'm New Here Sep 22, 2021

it works with text mode

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,371 views 7 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you