cancel
Showing results for 
Search instead for 
Did you mean: 

Text doesn't wrap

slowpork_
Champ in-the-making
Champ in-the-making

Hello, text doesn't wrap. I'm using demo vmware.

alt text

1 ACCEPTED ANSWER

Lise_Kemen
Star Contributor
Star Contributor

Hello,

When you import a file, your document is kept as it has been uploaded. If you want to download it to verify, you can use the link under the Content / Main file part.

About the preview we provide, the PRE is generated on our side: we want to be sure this upload will not break a specific formatting. In your case, if your files looks like articles, either you have to prepare your NotePad files to have a limited character size by line, or you have to keep the way it is displayed now.

In the last version of Nuxeo Platform (5.5+), i've improved the presentation, you have now a scrollbar for each text in PRE.

View answer in original post

6 REPLIES 6

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

Sorry but your question is not clear.

slowpork_
Champ in-the-making
Champ in-the-making

When import a whole paragraph, it shows as one long line on screen, as shown in attached screehshot.

Lise_Kemen
Star Contributor
Star Contributor

Hello,

Your text is contained within a pre or code html tag. You can see it with the font used. These tags are used to display text exactly as you typed it. It preserves spaces, line breaks, carriage returns, when you want to show code lines for example.

Since you want to have a paragraph result, you can format your text with a paragraph p tag.

More information:

slowpork_
Champ in-the-making
Champ in-the-making

Thank you for you reply, Lise. The original is a plain text file that I create from Notepad then upload. This may not work because when I print, tags will be all over the places. I want to keep original as a plain text document (not a html document)

slowpork_
Champ in-the-making
Champ in-the-making

I created couple paragraphs and saved as a text file via notepad, and then uploaded. Nuxeo shows each paragraph as a very long ling as you can see on the screenshot. How can I setup Nuxeo so it will display in nicer format?

Lise_Kemen
Star Contributor
Star Contributor

Hello,

When you import a file, your document is kept as it has been uploaded. If you want to download it to verify, you can use the link under the Content / Main file part.

About the preview we provide, the PRE is generated on our side: we want to be sure this upload will not break a specific formatting. In your case, if your files looks like articles, either you have to prepare your NotePad files to have a limited character size by line, or you have to keep the way it is displayed now.

In the last version of Nuxeo Platform (5.5+), i've improved the presentation, you have now a scrollbar for each text in PRE.