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

TWiki:Sandbox.WebHome had this:

<table><tr><td valign="top">
%TABLE{ name="example" }%
| *Year* | *2001* | *2002* | *2003* | *2004* | *2005* |
| *Low* | 8 | 10 | 13 | 17 | 22 |
| *Target* | 10 | 12 | 17 | 20 | 25 |
| *High* | 12 | 15 | 19 | 24 | 29 |
| *Actual* | 9 | 14 | 15 | 19 | 27 |

</td><td valign="top">
%CHART{ type="combo" subtype="pline, pline, pline, bar" name="lineexample" table="example" data="R2:C2..R5:C6" xaxis="R1:C2..R1:C6" legend="R2:C1..R5:C1" width="300" height="160" }%

</td></tr></table>

After editing the topic with the WYSIWGY editor I get this:

| %TABLE{ name="example" }%
<TABLE cellspacing="1" cellpadding="0" border="1">
 *Year*  *2001*  *2002*  *2003*  *2004*  *2005* 
 *Low*  8  10  13  17  22 
 *Target*  10  12  17  20  25 
 *High*  12  15  19  24  29 
 *Actual*  9  14  15  19  27 
</TABLE>
<p /> | %CHART{ type="combo" subtype="pline, pline, pline, bar" name="lineexample" table="example" data="R2:C2..R5:C6" xaxis="R1:C2..R1:C6" legend="R2:C1..R5:C1" width="300" height="160" }%
<p /> |

See example at TWiki:Sandbox/WysiwygTest (see normal diff and rdiff with ?render=debug)

(I did a workaround to get a side-by-side display by removing the HTML table and adding an =align="right" to the chart.)

Other people probably run also into this bug.

-- PTh

Again, you are asking a lot of the HTML to TML translation to reverse engineer TML out of complex HTML. TML is a lossy format, and it is quite simply impossible to reverse-engineer your intent out of HTML in many cases, and this is one. This will not be fixed; discarding.

CC

ItemTemplate
Summary WysiwygPlugin: TWiki table in HTML table issue
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.0.2
SVN Range Tue, 30 May 2006 build 10392
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2006-06-02 - 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