The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to paste multiline plain text as paragraphs?

Jan Bares
January 14, 2021

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Davin Studer
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 Champions.
January 14, 2021

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

Stuff

Stuff

Things
Jan Bares
January 15, 2021

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

Davin Studer
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 Champions.
January 15, 2021

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.

https://jira.atlassian.com/projects/CONFSERVER/summary

1 vote
Greg Galcik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 11, 2021

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
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 22, 2021

it works with text mode

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events