Tags:
create new tag
, view all tags

Question

I have created a table and have been adding/editing text directly in the cells using the WYSIWYG editor. I have noticed though that if I hit "Enter" within a single cell, to create two lines of text, my table structure is lost (everything except the header row which remains intact). Why does this happen? Is there any way to create two lines within the same cell without this problem occuring?

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: SpreadSheetPlugin, CalendarPlugin, CommentPlugin, EditTablePlugin, EmptyPlugin, InterwikiPlugin, PreferencesPlugin, QuickCalendarPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, WysiwygPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser: IE 6
Categories: Plugins

-- TWikiGuest - 03 May 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I'm not familiar with WYSIWYG - but that's a shortcoming of TWiki tables in general. You can work around by entering %BR% or <p/> instead of using the "Enter" key, though then the source will look somewhat ugly.

-- HaraldJoerg - 03 May 2006

That seems to be a limitation of the TWiki ML > HTML > TWiki ML roundtrip the WYSIWYG is doing. In fact, one can argue that this is a limitation of TWiki tables, which do not allow multiple lines per cell. (The WYSIWYG could be made smart to convert newlines to a single line (with BR), or to leave HTML table in HTML format if a cell occupies more than one line.

If you want bullets, write %BULLET% or %BB% (breaking bullet).

Example table
The %BB% does this:
• one
• two
• three

-- PeterThoeny - 04 May 2006

 
Topic revision: r4 - 2006-05-07 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.