Tags:
create new tag
view all tags

Question

When working within the TWiki editor, if i hit return at the end of a line and begin a new one, the two lines are combined when i view the page, unless I put a line with no text in between them. Is there some way to work around this?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Missing functionality

-- BrianMahoney - 24 Jul 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

What you are describing is a basic TWiki feature: An empty line separates paragraphs, A simple newline doesn't. This makes it easier to import mail or other texts into TWiki, or to prepare longer text outside TWiki's textarea edit field (I'm doing both quite often).

So the easiest workaround would be to simply hit return twice if you want a new paragraph. As an alternative, you can explicitly add %BR%, a line break, which will be translated into a HTML <br /> element and is usually formatted with less space between the lines than a new paragraph.

-- HaraldJoerg - 25 Jul 2007

Thanks for the fix Harald - is there any way to make this a permanent change - often when i am using WYSIWYG editors such as TinyMCE - hitting enter yields new paragraph spacing in one touch of the enter key.

-- BrianMahoney - 25 Jul 2007

-- BrianMahoney - 25 Jul 2007

-- BrianMahoney - 26 Jul 2007

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-07-26 - BrianMahoney
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.