• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4923: TMCE: Table element alignment can not be changed using "Table row properties"

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCEPlugin Normal Closed   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Let me give a table in verbatim and "real" mode first, to test and demonstrate:

| *a* | *b*  | *c* |
|  aaa |  bbb |  ccc |
|  aaaaaa |  bbbbbb |  cccccc |

a b c
aaa bbb ccc
aaaaaa bbbbbb cccccc

Occasionally I happen to create table elements which inadvertedly come out right aligned: It seems to happen if I click into a element of a freshly TMCE-created table instead of hopping into it with the tab key.

  • This works:
    1. Click on the element containing aaa
    2. Choose "Table cell properties"
    3. Set Alignment to "Left"
    4. Select "Update all cells in row"
    5. Activate "Update"

  • This fails:*
    1. Click on the element containing aaa
    2. Choose "Table row properties"
    3. Set Alignment to "Left"
    4. Leave the default value "Update current row"
    5. Activate "Update"
  • Now the table is a plain HTML table, without any of the TWiki classes (and worse, a preceding %TABLE{...}% tag will no longer work for the table).

Currently tested with Firefox on Linux.

-- TWiki:Main.HaraldJoerg - 02 Nov 2007

I guess we need to exclude the 'align' parameter from the attributes that block conversion to TML.

-- TWiki:Main.CrawfordCurrie - 03 Nov 2007

On closer examination, that's actually fair enough. Adding an attribute that can't be converted to TML causes the table to lurch back into HTML, and TML has no equivalent to an align that applies to an entire row; it is fundamentally cell-based.

However, this report does highlight a bug, in that an empty attribute value (which TMCE generates in spades) can block the conversion, and that's just plain wrong.

Fixed it, and the behaviour seems correct to me now. Row attributes get ignored.


Summary TMCE: Table element alignment can not be changed using "Table row properties"
ReportedBy TWiki:Main.HaraldJoerg
Codebase 4.2.0
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component TinyMCEPlugin
Priority Normal
CurrentState Closed

Checkins TWikirev:15507 TWikirev:15508
TargetRelease n/a

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2007-11-06 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback